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


/*
 * TAB Panels
*/
.tab-panel-vertical {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
}

.tab-panel-vertical-tabs {
  position: relative;
  width: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #333;
  color: #fff;
}

.tab-panel-vertical-tablinks {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  background-color: transparent;
  color: #bbb;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  /* overflow: hidden; */
  text-overflow: ellipsis;
  position: relative;
}
.tab-panel-vertical-tablinks:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: #444;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: -1;
}
.tab-panel-vertical-tablinks:hover:before {
  transform: scaleX(1);
}
.tab-panel-vertical-tablinks.active:before {
  transform: scaleX(1);
  color: #fff;
}
.tab-panel-vertical-tablinks:hover {
  background-color: #444;
}
.tab-panel-vertical-tablinks.active {
  color: #000;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 30px 0px 0px 30px;
  background-color: #ccc;
}

.tab-panel-vertical-content-wrapper {
  width: calc(100% - 50px);
  height: 100%;
  background-color: #ccc;
  overflow-y: auto;
}

.tab-panel-vertical-content {
  display: none;
  padding: 20px;
  color: #333;
}
.tab-panel-vertical-content.active {
  display: block;
}






/*
* POPUP PANELS
*/

.popup-container {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
}
.popup-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
.popup-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.popup-close:hover,
.popup-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* Right click Panel */
.panel-context-menu {
  display: none;
  position: absolute;
  z-index: 99;
  background-color: #f1f1f1;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 3px 4px;
  font-size: 12px;
}
.panel-context-menu li {
  padding: 2px 0;
  cursor: pointer;
}
.panel-context-menu li:hover {
  background-color: #ddd;
}

.panel-context-menu-confirm-dialog {
  font-size: 10px;
}
.panel-context-menu-confirm-dialog-button-ok {
  font-size: 8px;
  background-color: green;
  border-radius: 5px;
}
.panel-context-menu-confirm-dialog-button-cancel {
  font-size: 8px;
  background-color: yellow;
  border-radius: 5px;
}


/* Channel vertical pannel */
.channel-vertical-panel {
  height: 100%;
  overflow-y: scroll;
  padding: 1px;
  box-sizing: border-box;
}
.channel-vertical-panel-content {
  display: flex;
  flex-direction: column;
  object-fit: cover;
}
