/*
 * Media processing
 *
 * Media Buttons Styles
 *
 * Pavlin Georgiev
 * 2023 Softel Labs
 *
*/


.button {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 12px;
}

.login-button, .logout-button {
  font-size: 14px;
  height: 40px;
  background-color: #4CAF50;
  color: white;
  padding: 10px 10px;
  border: none;
  cursor: pointer;
  float: right;
  transition: transform 0.2s;
}
.login-button:hover, .logout-button:hover {
  background-color: #0c630f;
}
.login-button:active, .logout-button:active {
  transform: scale(0.9);
}


.button_content_private {
  padding: 1px 1px;
  width: 120px;
  height: 35px;
  font-size: 12px;
  background-color: #145bcdd5;
  color: white;
  transition: transform 0.2s;
}
.button_content_private:hover {
  background-color: #0e28d0d5;
}
.button_content_private:active {
  transform: scale(0.9);
}

.button_content_presentation {
  padding: 1px 1px;
  width: 120px;
  height: 35px;
  font-size: 12px;
  background-color: #eea629d5;
  color: white;
  transition: transform 0.2s;
}
.button_content_presentation:hover {
  background-color: #cf8c18d5;
}
.button_content_presentation:active {
  transform: scale(0.9);
}

.button_content_public {
  padding: 1px 1px;
  width: 120px;
  height: 35px;
  font-size: 12px;
  background-color: #17b509d5;
  color: white;
  transition: transform 0.2s;
}
.button_content_public:hover {
  background-color: #07833dd5;
}
.button_content_public:active {
  transform: scale(0.9);
}

.button_content_upload {
  padding: 30px 30px;
  width: 150px;
  height: 100;
  font-size: 16px;
  color: #000000;
  background-color: #81c8f0d5;
  transition: transform 0.2s;
}
.button_content_upload:hover {
  background-color: #81abf0d5;
}
.button_content_upload:active {
  transform: scale(0.9);
}


.button_pipeline_job_start {
  padding: 1px 1px;
  width: 40px;
  height: 30px;
  font-size: 14px;
  color: #000000;
  background-color: #1ee41ed5;
  transition: transform 0.2s;
}
.button_pipeline_job_start:hover {
  background-color: #0c9635d5;
}
.button_pipeline_job_start:active {
  transform: scale(0.9);
}

.button_pipeline_job_cancel {
  padding: 1px 1px;
  width: 40px;
  height: 30px;
  font-size: 12px;
  color: #000000;
  background-color: #f2ee09f5;
  transition: transform 0.2s;
}
.button_pipeline_job_cancel:hover {
  background-color: #a0c80ff5;
}
.button_pipeline_job_cancel:active {
  transform: scale(0.9);
}

.button_channel_create {
  padding: 1px 1px;
  width: 40px;
  height: 30px;
  font-size: 14px;
  color: #000000;
  background-color: #396ad3f5;
  transition: transform 0.2s;
}
.button_channel_create:hover {
  background-color: #103a93f5;
}
.button_channel_create:active {
  transform: scale(0.9);
}

.button_channel_delete {
  padding: 1px 1px;
  width: 40px;
  height: 30px;
  font-size: 14px;
  color: #000000;
  background-color: #ea3110f5;
  transition: transform 0.2s;
}
.button_channel_delete:hover {
  background-color: #ab311bf5;
}
.button_channel_delete:active {
  transform: scale(0.9);
}

.button_confirm_ok {
  padding: 1px 1px;
  width: 80px;
  height: 40px;
  font-size: 14px;
  color: #000000;
  background-color: #a6ec9bfd;
  transition: transform 0.2s;
}
.button_confirm_ok:hover {
  background-color: #60cc6cf5;
}
.button_confirm_ok:active {
  transform: scale(0.9);
}

.button_cancel {
  padding: 1px 1px;
  width: 80px;
  height: 40px;
  font-size: 14px;
  color: #000000;
  background-color: rgb(245, 208, 139);
  transition: transform 0.2s;
}
.button_cancel:hover {
  background-color: #d2ab67f5;
}
.button_cancel:active {
  transform: scale(0.9);
}

.button_admin {
  padding: 1px 1px;
  width: 120px;
  height: 40px;
  font-size: 12px;
  background-color: rgb(241, 133, 0);
  color: white;
  transition: transform 0.2s;
}
.button_admin:hover {
  background-color: rgb(216, 150, 68);
}
.button_admin:active {
  transform: scale(0.9);
}


.search-container {
  display: flex;
  align-items: center;
  background-color: #f2f2f2;
  border-radius: 50px;
  padding: 3px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}
.search-input {
  width: 180px;
  border: none;
  font-size: 16px;
  padding: 10px;
  border-radius: 50px 0 0 50px;
  outline: none;
  transition: width 0.2s ease-in-out;
}
.search-input:focus {
  width: 220px;
}
.search-button {
  background-color: #2196F3;
  color: white;
  border: none;
  border-radius: 0 50px 50px 0;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
}
.search-button:hover {
  background-color: #1e88e5;
}
.fa-search {
  margin-right: 10px;
}


.channel-text-container {
  display: flex;
  width: 350px;
  align-items: center;
  background-color: #f2f2f2;
  border-radius: 30px;
  padding: 3px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}
.channel-text-input {
  width: 270px;
  border: none;
  font-size: 16px;
  padding: 10px;
  border-radius: 30px;
  outline: none;
}

.control-button-overlay {
  position: absolute;
  left: 3%;
  background-color: rgba(0, 0, 0, 0.5);
}



/* Slider CheckBox Button */

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.switch-input {
  display: none;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  transition: 0.4s;
  background-color: #b3b3b3;
  -webkit-transition: .4s;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;

  background-color: #37df61;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.switch-input:checked + .switch-slider:before {
  transform: translateX(24px);
  background-color: #ba1f1f;
}
