/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

@media (min-width: 1440px) {
  .modal-xl {
    max-width: 1360px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1152px;
  }
}

video { object-fit: "contain"; }

::cue {
  font-size: 0.9em;
}

/* ::cue { color: "#aaaaaa"; font: "300 14px/1.2 sans-serif"; } */
/*
video::cue {
  font-size: 1.2em;
  font-weight: 400;
  font-family: sans-serif;
  color: rgba(255, 255, 255, 0.9);
  background-color:rgba(0,0,0,0.6);
}

::cue(.eight) { color: rgba(255, 255, 255, 0.8); }
::cue(.seven) { color: rgba(255, 255, 255, 0.7); }
::cue(.six) { color: rgba(255, 255, 255, 0.6); }
::cue(.five) { color: rgba(255, 255, 255, 0.5); }
::cue(.unsure) { color: rgba(255, 255, 255, 0.4); }

.eight { color: rgba(255, 255, 255, 0.8); }
.seven { color: rgba(255, 255, 255, 0.7); }
.six { color: rgba(255, 255, 255, 0.6); }
.five { color: rgba(255, 255, 255, 0.5); }
.unsure { color: rgba(255, 255, 255, 0.4); }

video::cue(.celeb) { font-size: 0.8em; color: rgba(255, 255, 255, 0.6); }
::cue(.face) { font-size: 1em; color: rgba(250, 250, 250, 0.6); }
::cue(.faceMatch) { font-size: 1em; color: rgba(250, 250, 250, 0.6); }
::cue(.label) { font-size: 1em; color: rgba(250, 250, 250, 0.6); }
::cue(.moderation) { font-size: 1em; color: rgba(250, 250, 250, 0.6); }
::cue(.person) { font-size: 1em; color: rgba(255, 255, 255, 0.6); }
::cue(.transcript) { font-size: 1em; color: rgba(255, 255, 255, 0.8); }
::cue(.entity) { font-size: 1em; color: rgba(255, 255, 255, 0.6); }
::cue(.kephrase) { font-size: 1em; color: rgba(250, 250, 250, 0.6); }
::cue(.sentiment) { font-size: 1em; color: rgba(250, 250, 250, 0.6); }
::cue(.topic) { font-size: 1em; color: rgba(250, 250, 250, 0.6); }
video::cue(.confidence) { font-size: 0.8em; color: rgba(230, 230, 230, 0.8); }
*/

.image-upload > input { display: none; }
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-top: auto;
  margin-bottom: auto;
}

/* Hide default HTML checkbox */
.switch input {
  display:none;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider { background-color: #2196F3; }
input:focus + .slider { box-shadow: 0 0 1px #2196F3; }
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

input:disabled + .slider {
  background-color: #a0a0a0;
}

/* Rounded sliders */
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; } 

/* file-upload component */
.my-background-image {
  background-image: url("../images/upload-file.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #f0f0f0;
  height: 90%;
}

.overlay-hover, .overlay-hover-light, .overlay-hover-warn {
  z-index: 800;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #333333;
  cursor: pointer;
}

.overlay-hover-warn {
  background-color: red;
}

.state-status-overlay {
  z-index: 790;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0.8;
  transition: .5s ease;
  background-color:transparent;
}

.progress-overlay {
  color: white;
  position: relative;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: left;
}

.overlay-container {
  position: relative;
  /* width: 100%; */
}
.overlay-container:hover .overlay-hover {
  opacity: 1;
}
.overlay-container:hover .overlay-hover-light {
  opacity: 0.8;
}
.overlay-container:hover .overlay-hover-warn {
  opacity: 0.6;
}

.overlay-text {
  color: white;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.card-body .col-sm-3 {
  padding-right: 10px;
}
.card-body .col-sm-9 {
  padding-left: 6px;
}
.text-thin {
  font-weight: 300;
}

.svg {
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.opacity {
  -webkit-filter: opacity(13%);
  filter: opacity(13%);
}

.overlay-action {
  display: inline-block;
  padding-top: 2em;
  transition: transform .3s;
}

.overlay-action:hover {
  transform: scale(1.3);
}

.overlay-action > p {
  width: 8em;
  padding-top: 1em;
  line-height: 1.1;  
}

.carousel-control-next, .carousel-control-prev {
  width: 2%;
}

.carousel-content {
  position: absolute;
  color: #666;
  left: 10%;
  right: 10%;
  z-index: 10;
  padding-top: 10px;
  padding-bottom: 10px;
  top: 10px;
  font-size: 80%;
  max-height: 360px;
  overflow-y: auto;
}

.carousel-indicators li {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Hide inactive carousel slides */
.carousel-item:not(.active) {
  display: none !important;
}

.carousel-indicators .active {
  background-color: rgba(0, 0, 0, 0.3);
}

.bg-highlight {
  border-radius: 3px;
  animation: highlight 3000ms ease-out;
}

dl { margin-bottom: 0; }

a.overlay-action {
  -webkit-filter: invert(80%);
  filter: invert(80%);
  padding-top: 0;
  color: #ccc;
}

a.overlay-action:hover {
  -webkit-filter: invert(60%);
  filter: invert(60%);
  transform: scale(1.4);
  color: rgb(165, 50, 35);
  text-decoration: none;
}

.overlay-static {
  z-index: 800;
  position: absolute;
  top: 3%;
  bottom: 0;
  left: 90%;
  right: 10%;
  height: 10%;
  width: 10%;
  opacity: 1;
}

/* The switch - the box around the slider */
.xs-switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 18px;
  margin-top: auto!important;
  margin-bottom: auto!important;
}

/* Hide default HTML checkbox */
.xs-switch input {
  display:none;
}

/* The slider */
.xs-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.xs-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .xs-slider {
  background-color: #2196F3;
}

input:focus + .xs-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .xs-slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

input:disabled + .xs-slider {
  background-color: #a0a0a0;
}

/* Rounded sliders */
.xs-slider.round {
  border-radius: 18px;
}

.xs-slider.round:before {
  border-radius: 50%;
}

/* Absolute Center Spinner */
.loading, .loading-3, .loading-4 {
  position: fixed;
  z-index: 999;
  height: 4em;
  width: 4em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.loading-3 {
  height: 3em;
  width: 3em;
}

.loading-4 {
  height: 4em;
  width: 4em;
}

/* workaround for modal in modal scroll issue */
.modal {
  overflow-y: auto !important;
}

.indicator {
  position: absolute;
  z-index: 10;
  height: 1em;
  width: 1em;
  overflow: visible;
  top: 0;
  right: 0;
  margin-left: auto;
  margin-top: 0.5em;
  margin-right: 0.5em;
}

.carousel-indicators-numbers li {
  text-indent: 0;
  margin: 0 2px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 100%;
  line-height: 30px;
  color: #fff;
  background-color: #999;
  transition: all 0.25s ease;
}

.carousel-indicators-numbers li.active,
.carousel-indicators-numbers li:hover {
  margin: 0 2px;
  width: 30px;
  height: 30px;
  background-color: #337ab7;
}


a.member-anchor, a.member-anchor:visited {
  color: #fff !important;
}

a.member-anchor:hover {
  color: #007bff !important;
}

.image-canvas-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /*
  height: 100%;
  width: 100%;
  */
  opacity: 1;
  background-color: transparent;
}

.btn-group-xs > .btn, .btn-xs {
  padding: .25rem .4rem;
  font-size: .875rem;
  line-height: .5;
  border-radius: .2rem;
}

.carousel-content {
  max-height: 90%;
}

.editable:hover {
  animation: shake 0.8s;
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.carousel-indicators li {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.7rem;
  border-top: 0rem solid transparent;
  border-bottom: 0rem solid transparent;
}

.shake-sm {
  -webkit-animation: kf_shake 0.4s 1 linear;
  -moz-animation: kf_shake 0.4s 1 linear;
  -o-animation: kf_shake 0.4s 1 linear;
}

@-webkit-keyframes kf_shake {
  0% { -webkit-transform: translate(30px); }
  20% { -webkit-transform: translate(-30px); }
  40% { -webkit-transform: translate(15px); }
  60% { -webkit-transform: translate(-15px); }
  80% { -webkit-transform: translate(8px); }
  100% { -webkit-transform: translate(0px); }
}

@-moz-keyframes kf_shake {
  0% { -moz-transform: translate(30px); }
  20% { -moz-transform: translate(-30px); }
  40% { -moz-transform: translate(15px); }
  60% { -moz-transform: translate(-15px); }
  80% { -moz-transform: translate(8px); }
  100% { -moz-transform: translate(0px); }
}

@-o-keyframes kf_shake {
  0% { -o-transform: translate(30px); }
  20% { -o-transform: translate(-30px); }
  40% { -o-transform: translate(15px); }
  60% { -o-transform: translate(-15px); }
  80% { -o-origin-transform: translate(8px); }
  100% { -o-origin-transform: translate(0px); }
}

.form-signin {
  width: 100%;
  max-width: 500px;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 12px 14px;
  margin: 0 0 14px 0;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa !important;
  color: #111 !important;
  width: 100%;
  transition: all 0.2s ease;
  caret-color: #0071e3 !important;
}

.form-signin .form-control::placeholder {
  color: #777 !important;
}

/* Input text visibility - ensure text is visible while typing */
input[type="text"],
input[type="password"],
input[type="email"] {
  color: #222 !important;
  background-color: #fff !important;
  caret-color: #005BAA !important;
}

input::placeholder {
  color: #777 !important;
}

/* Prevent autofill highlighting */
.form-signin input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-text-fill-color: #222 !important;
}

.form-signin input:-webkit-autofill:hover {
  box-shadow: 0 0 0px 1000px #fff inset !important;
  -webkit-text-fill-color: #222 !important;
}

.form-signin input:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px #f9fbff inset !important;
  -webkit-text-fill-color: #222 !important;
}

.form-signin .form-control:hover {
  border-color: #999;
}

.form-signin .form-control:focus {
  z-index: 2;
  border-color: #005BAA;
  background-color: #f9fbff;
  box-shadow: 0 0 0 2px rgba(0, 91, 170, 0.12);
  outline: none;
}

.form-signin input[type="email"] {
  margin-bottom: 0;
}

.form-signin input[type="text"] {
  margin-bottom: 16px;
}

.form-signin input[type="password"] {
  margin-bottom: 16px;
}

.up-slide {
  display: flex!important;  
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  height: auto !important;
}

#loading,
body:has(#loading) #loading,
[class*="loading"],
[class*="Loading"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.cognito-etc {
  display: none !important;
}

.up-alert {
  position: fixed;
  left: 0;
  bottom: 2%;
  width: 100%;
  z-index: 888;
}

.up-alert .alert {
  margin-top: 2rem;
  margin-left: 10%;
  margin-right: 10%;
}

.bg-video {
  background-color: #cc6b2e;
}

.bg-podcast,
.bg-audio {
  background-color: #ed9b3f;
}

.bg-image {
  background-color: #45852c;
}

.bg-document {
  background-color: #966df7;
}

.bg-undefined {
  background-color: #dc3545;
}

.fm-w-20 {
  margin-right: 2px;
  margin-bottom: 2px;
  min-width: 20rem;
  max-width: 33%;
  width: 33%;
  height: 3.2rem;
}

.fm-layout {
  display: inline-flex!important;
  height: 3rem;
}

.fm-layout:hover {
  background-color: #e0e0e0;
}

.fm-img-w-4 {
  display: flex!important;
  justify-content: center!important;
  width: 3rem;
  height: 3rem;
}

.fm-img-w-4 i {
  align-self: center!important;
  font-size: 1.4rem;
  color: #ffffff;
}

.fm-content {
  width: 70%;
  display: block!important;
  align-self: center!important;
  margin-left: .5rem!important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-title {
  display: block;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  color: #212529;
}

.fm-desc {
  color: #6c757d!important;
  font-size: 0.9rem;
  line-height: 1;
}

.fm-ctrl {
  align-self: center!important;
  margin-left: auto!important;
  margin-right: .5rem!important;
  font-size: 1.2rem;
  color: #a0a0a0;
  transition: transform .3s;
}

.fm-ctrl:hover {
  color: #606060;
  transform: scale(1.3);
}

.tooltip {
  font-size: 0.8rem;
}

.btn, .form-control, .custom-select, select {
  border-radius: 0;
}

.modal-content {
  border-radius: 12px;
}

.marquee {
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  display: block;
}

.marquee .marquee-target {
  display: flex;
  flex-basis: 100%;
  animation: marquee-reset;
  animation-play-state: paused;
}

.marquee:hover> .marquee-target {
  animation: marquee 8s linear;
  animation-play-state: running;
}

@keyframes marquee {
  0% {
    transform: translate(0%, 0);
  }
  50% {
    transform: translate(-200%, 0);
  }
  50.001% {
    transform: translate(200%, 0);
  }
  100% {
    transform: translate(0%, 0);
  }
}

@keyframes marquee-reset {
  0% {
    transform: translate(0%, 0);
  }
}

.list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.list-group-item:last-child {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.list-group-item-status {
  color: #6c757d!important;
  float: right!important;
  font-size: 80%;
  font-weight: 400;
}

.list-group-item.active> .list-group-item-status {
  color: #fff!important;
}

.badge-custom {
  display: inline-flex;
  font-weight: 300;
  border-radius: 0.5rem;
  float: right!important;
}

.border-radius-none {
  border-radius: 0rem!important;
}

.finalize-contaniner {
  display: flex!important;
  margin-top: 1rem;
  margin-bottom: 1rem;
  height: 460px;
}

.h-96 {
  height: 96%;
}

.h-96px {
  height: 96px;
}

.h-200 {
  height: 200px;
}

.h-300 {
  height: 200px;
}

.h-400 {
  height: 400px;
}

.h-600 {
  height: 400px;
}

.h-600max {
  height: 100%;
  max-height: 600px;
}

.h-800max {
  height: 100%;
  max-height: 800px;
}

.image-bg {
  position: relative;
  top: 0;
  left: 0;
}

.animated-bg {
  animation: swim 4s linear 0s infinite;
}

@keyframes swim {
  0% {
    background-position: 0 0, -100% 0;
  }
  50% {
    background-position: -100% 0, 0 0;
  }
  100% {
    background-position: 0 0, -100% 0;
  }
}

.animated img:nth-of-type(1) {
  animation-delay: 6s;
}

.animated img:nth-of-type(2) {
  animation-delay: 4s;
}

.animated img:nth-of-type(3) {
  animation-delay: 2s;
}

.animated img:nth-of-type(4) {
  animation-delay: 0s;
}

.abs {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  display: flex;
  background-size: contain;
  background-repeat: repeat;
}

.category {
  color: #ffffff;
  cursor: pointer;
}

.category[disabled]:hover {
  cursor: not-allowed;
}

.category:hover {
  background-color: #111111;
  color: #ffffff;
  opacity: 0.7;
}

.category .media-action {
  margin: 0 2px;
}

.category .media-action:hover {
  transform: scale(1.1);
}

.img-12rem {
  max-height: 12rem;
  object-fit: contain;
  background-color: rgb(0, 0, 0);
  border-radius: 0;
}

@media (min-width: 576px) {
  .card-columns {
    column-count: 4;
    column-gap: 0;
  }
}

.card-columns .card {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.lead-xl {
  font-size: 2.0rem;
}

.lead-lg {
  font-size: 1.5rem;
}

.lead-m {
  font-size: 1.1rem;
}

.lead-s, .lead-sm {
  font-size: 1.0rem;
}

.lead-xs {
  font-size: 0.9rem;
}

.lead-xxs {
  font-size: 0.8rem;
}

.lead-s {
  font-weight: 400;
}

.lead-xl, .lead-lg {
  font-weight: 300;
}

.lead-sm, .lead-xs, .lead-xxs {
  font-weight: 200;
}

.lead-xxl {
  font-size: 4.5rem;
}

.icon-play-4 {
  position: relative;
  margin: auto!important;
  opacity: 0.0;
}

.icon-3 {
  font-size: 3rem;
  opacity: 0.0;
  color: #ffffff;
}

.icon-4 {
  font-size: 4rem;
  opacity: 0.0;
  color: #ffffff;
}

.category:hover .icon-4 {
  opacity: 1.0;
}

.category:hover .icon-3 {
  opacity: 1.0;
}

.bg-light-c {
  background-color: #2d2d2d;
}

.bg-light-d {
  background-color: #1e1e1e;
}

.bg-light-e {
  background-color: #121212;
}

/*
 * Sidebar
 */
.sidebar {
  background-color: #121212!important;
  /* box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); */
}

.sidebar .nav-link {
  color: #ffffff;
}

.sidebar .nav-link {
  margin-right: 4px;
  padding: 0.15rem 1rem;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  color: inherit;
}

.sidebar-sticky {
  position: relative;
  top: 0;
  /* height: calc(100vh - 48px); */
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

.close-preview {
  position: fixed;
  right: 1.5rem;
  margin-top: 1.5rem;
  transition: transform .3s;
}

.close-preview:hover {
  transform: scale(1.3);
}

.sidebar-menu {
  position: fixed;
}

dt {
  font-weight: 400;
}

.min-h24r {
  min-height: 24rem;
}

.max-h36r {
  max-height: 36rem;
  overflow-y: scroll;
}

.max-h40r {
  max-height: 40rem;
  overflow-y: scroll;
}

.max-h56r {
  max-height: 56rem;
  overflow-y: scroll;
}

.custom-bg {
  z-index: 0;
  position: absolute;
  background-color: transparent;
  font-size: 4rem;
  color: #404040;
}

.cue-highlight {
  border-radius: 3px;
  animation: highlight 3000ms ease-out;
}

@keyframes highlight {
  0% {
    background-color: rgb(253, 236, 0, 0.9);
  }
  100% {
    background-color: transparent;
  }
}

div[data-media-type="video"] .cropper-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 888;
}

.snapshot {
  object-fit: cover;
  width: 96px;
  height: 96px;
  transition: transform .3s;
}

.snapshot:hover {
  transform: scale(1.3);
}

.img-contain {
  object-fit: contain;
}

.img-w100 {
  width: 100%;
}

.overlay-offset-2p {
  position: absolute;
  top: 2px;
  left: 2px;
}

.dropzone {
  border: 0.6rem dashed #c0c0c0;
  color: #808080;
  cursor: pointer;
  height: 12rem;
}

.dropzone:hover {
  border-color: #808080;
}

.dropzone .label,
.dropzone .form-group,
.dropzone .h4 {
  margin: 0;
}

.dropzone input {
  display: none;
}

.dropzone-bg {
  z-index: 0;
  position: absolute;
  background-color: transparent;
  font-size: 2rem;
  color: #c0c0c0;
  width: 100%;
  height: 100%;
  margin-top: -0.6rem;
  margin-left: -0.6rem;
}

.upload-list .list-group,
.analyzing-list .list-group,
.most-recent-list .list-group {
  max-height: 24rem;
  overflow-y: auto;
}

.text-roi-screen {
  /*
  width: 480px;
  height: 270px;
  */
  background-color: #eee;
}

.text-roi-grid {
  aspect-ratio: 16 / 9;
  color: #ffffff;
  background-color: #2d2d2d;
  border: 1px solid #404040;
}

.text-roi-grid:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
  opacity: 0.8;
}

.text-roi-grid-active {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
  opacity: 1.0;
}

.btn:hover .btn-bkgd {
  opacity: 0.6;
}

.text-contain {
  word-break: break-word;
}

.h-max-12rem {
  max-height: 12rem;
}

.preview-nav-list {
  list-style-type: none;
}

.preview-nav-caret {
  cursor: pointer;
  user-select: none;
}

.preview-nav-caret::before {
  content: "\25B6";
  color: #ffffff;
  display: inline-block;
  margin-right: 6px;
}

.preview-nav-caret-down::before {
  transform: rotate(90deg);
}

.preview-nav-nested {
  display: none;
}

.preview-nav-active {
  display: block;
}

.bg-f0 {
  background-color: #2d2d2d!important;
}

.canvas-item {
  position: absolute;
  background-color: #aaa;
  border: medium solid #eee;
  opacity: 0.5;
  transition: all .2s ease-in;
}
.canvas-item:hover {
  transform: scale(1.2);
}

.canvas-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.canvas-list canvas {
  transition: all .2s ease-in;
}

.canvas-list canvas:hover {
  transform: scale(1.1);
}

.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

.pie-graph {
  width: 60%;
  aspect-ratio: 1 / 1;
}

.scatter-graph {
  width: 90%;
  aspect-ratio: 5 / 2;
}

.knowledge-graph {
  min-height: 70vh;
}

.media-processing, .media-error, .opacity07 {
  opacity: 0.7;
}

.search-border {
  border: 1px solid;
}

.search-border-l {
  border-left: 1px solid;
}

.stats-misc {
  font-size: 16px;
  font-weight: 300;
  display: block;
}

.thumbnail {
  cursor: pointer;
  object-fit: contain;
  transition: transform .3s;
  border: thin solid #333;
  height: 96px;
  opacity: 0.5;
}

.thumbnail:hover {
  transform: scale(1.2);
}

.thumbnail.active {
  opacity: 1.0;
}

.no-cursor {
  cursor: inherit;
}

.vh16 {
  height: 16vh!important;
}

.canvas-type-line,
.canvas-type-keyval,
.canvas-type-cell {
  border: 2px solid;
}

.canvas-type-line {
  border-color: #ff9900;
  background-color: #ff990034;
}

.canvas-type-keyval {
  border-color: #28a745;
  background-color: #28a74534;
}

.canvas-type-cell {
  border-color: #6610f2;
  background-color: #6610f234;
}

.face-thumbnail {
  width: 100%;
  height: 48px;
  font-size: 2em;
  background-color: #c8c8c8;
  text-align: center;
  object-fit: cover;
}

.face-thumbnail > i {
  vertical-align: middle;
}

.search-thumbnail {
  object-fit: contain;
  height: 96px;
  min-width: 96px;
  aspect-ratio: 16/9;
}

.b-200 {
  font-weight: 200;
}

.b-300 {
  font-weight: 300;
}

.b-400 {
  font-weight: 400;
}

.b-500 {
  font-weight: 500;
}

.no-border {
  border: none !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
}

.search-layer {
  position: absolute;
  top: 1em;
  left: 1em;
}

.vh-8 {
  min-height: 8vh;
}

.vh-10 {
  min-height: 10vh;
}

.vh-20 {
  min-height: 20vh;
}

.vh-30 {
  min-height: 30vh;
}

.vh-40 {
  min-height: 40vh;
}

.vh-50 {
  min-height: 50vh;
}

.vh-60 {
  min-height: 60vh;
}

.vh-70 {
  min-height: 70vh;
}

.vh-30x {
  height: 30vh;
}

.vh-40x {
  height: 40vh;
}

.vh-50x {
  height: 50vh;
}

/* exact 70vh */
.vh-70x {
  height: 70vh;
}

.vh-80 {
  min-height: 80vh;
}

.vh-60max {
  max-height: 60vh;
}

.w-96min {
  min-width: 96px;
}

.p-overflow {
  overflow-y: auto;
  max-height: 70px;
  margin: 0;
  padding: 0;
}

.image-container {
  position: relative;
}

.image-container > .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-container > .overlay:hover {
  opacity: 0.6;
}

.image-container > .preview {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #333333;
  cursor: pointer;
}

.image-container > .preview:hover {
  opacity: 0.8;
}

.image-container > .preview > .center {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  text-align: center;
}

.image-container > .apparel-item {
  position: absolute;
  background-color: #28a7454c;
  border-color: #28a745;
  border-style: solid;
  border-radius: 50%;
  border-width: 0.1rem;
  opacity: 0.8;
  width: 1.5rem;
  aspect-ratio: 1/1;
}

.image-container > .apparel-item:hover {
  opacity: 1.0;
  cursor: pointer;
  transform: scale(1.3);
}

.image-container > .overlay-top-left {
  position: absolute;
  top: 0;
  left: 0;
}

.no-border td {
  border: none;
}

.graph-tooltip {
  width: 18rem;
}

.graph-tooltip img {
  width: 100%;
  object-fit: cover;
  background-color: #aaaaaaaa;
  aspect-ratio: 16/9;
}

.graph-tooltip p {
  font-size: 0.8rem;
  text-align: center;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 0;
  margin: 0;
}

.graph-avatar {
  width: 3rem;
  font-size: 2rem;
  border-width: 10px;
  border-color: #606060;
}

.video-container {
  position: relative;
}

.video-container > .overlay {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
}

.video-container > .overlay:hover {
  opacity: 1;
}

.badge > em {
  font-weight: 400;
}

.badge-36ch {
  max-width: 36ch;
  text-overflow: ellipsis;
  overflow: hidden;
}

.curtain-container {
  position: relative;
}

.curtain-container > .curtain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
  z-index: 1;
}

.typing-container {
  display: inline-flex;
  justify-content: start;
  align-items: flex-start;
  aspect-ratio: 5 / 2;
}

@keyframes blink {
  0% {opacity: 1;}
  40% {opacity: 1;}
  60% {opacity: 0;}
  100% {opacity: 0;}
}

.input-cursor:after {
  content: '_';
  display: inline-block;
  color: #dc3545!important;
  font-weight: bold;
  margin-left: 0.3rem;
  animation: blink .6s linear infinite alternate;
}

.opacity10 {
  opacity: 1.0;
}

.vjs-custom-overlay {
  background-color: rgba(10, 10, 10, 0.8)!important;
  border-radius: 0!important;
  width: 100%!important;
  margin-left: 0!important;
  left: 0!important;
}

.bg-black {
  background-color: rgba(10, 10, 10, 0);
}

.bg-black:hover {
  background-color: rgba(10, 10, 10, 1.0);
}

.blinky {
  animation: blink2 1.2s linear infinite alternate;
}

.select-bg-dark {
  background-color: black;
  color: white;
}

@keyframes blink2 {
  0% {opacity: 0;}
  20% {opacity: 0.2;}
  40% {opacity: 0.4;}
  60% {opacity: 0.6;}
  80% {opacity: 0.8;}
  100% {opacity: 1.0;}
}

.checkout-flow {
  aspect-ratio: 7 / 1;
  height: 100%!important;
}

.ml-4rem {
  margin-left: 4rem!important;
}

.mr-4rem {
  margin-right: 4rem!important;
}

/* Prevent blue focus ring flash on page load */
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

*:focus-visible {
  outline: 2px solid #3b4867;
  outline-offset: 3px;
}

/* Update main background and text colors */
body {
  background-color: #ffffff;
  color: #000000;
}

/* Update modal and card backgrounds */
.modal-content {
  background-color: #ffffff;
  color: #000000;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
  background-color: #CB2C30;
  color: #ffffff;
  border: none;
  padding: 24px 40px;
  border-radius: 0;
}

.modal-body {
  padding: 40px;
}

.modal-dialog {
  display: -webkit-box !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
  -webkit-box-align: center !important;
  align-items: center !important;
  -webkit-box-pack: center !important;
  -moz-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
  min-height: calc(100% - 1rem);
  margin: 0.5rem auto;
  padding: 0;
}

.modal-content {
  margin: 0;
  max-width: 360px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  background-color: #f7f8fa;
  border: 1px solid #d9dde2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease;
}

/* Card hover glow effect */
.modal-content:focus-within {
  box-shadow: 0 6px 24px rgba(0, 91, 170, 0.18);
}

.modal-dialog {
  max-width: 360px !important;
  padding-top: 4rem !important;
}

.modal-header {
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 22px 0 !important;
  background-color: #CB2C30 !important; /* CHSN Red */
  border: none !important;
  border-top-left-radius: 14px !important;
  border-top-right-radius: 14px !important;
}

.modal-header img {
  width: 140px !important;
  height: auto !important;
  margin-bottom: 0 !important;
  opacity: 0;
  animation: logoFade 0.8s ease-in-out 0.3s forwards;
}

@keyframes logoFade {
  to { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bandSlide {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  animation: bandSlide 0.6s ease-out;
}

.modal-content {
  animation: fadeIn 0.4s ease-in-out;
}

.modal-body {
  padding: 32px 40px 60px !important;  /* extra bottom padding to reserve space for alert */
  position: relative;
}

/* Reserved space for error alert - prevents layout shift */
.modal-body .alert-space {
  position: absolute !important;
  bottom: 68px !important;  /* sits just above footer (60px reserved + 8px gap) */
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

/* ---------- 1. Reserve permanent space for the message  ---------- */
.login-card,
.modal-content {
  position: relative;
}

/* ---------- Perfectly centered alert in reserved space ---------- */
.alert-box {
  position: fixed;
  top: 200px !important;
  left: 20px !important;
  transform: none;
  width: 600px;
  max-width: 80vw;
  padding: 30px 40px;
  background-color: #00ff00;
  border: 8px solid #0000ff;
  border-radius: 40px;
  color: #000000;
  font-size: 32px;
  font-weight: 900;
  line-height: 2;
  text-align: center !important;
  opacity: 0;
  transition: opacity 0.4s ease;
  box-shadow: 20px 20px 60px rgba(0, 255, 0, 0.8);
  pointer-events: none;
  z-index: 9999;
}

.alert-box.show {
  display: flex;
  opacity: 1;
  margin-bottom: 0 !important;
}

/* ---------- Reserve fixed space for alert and footer ---------- */
.modal-content {
  position: relative;
}

/* Add padding to forms to account for no modal-body padding */
.carousel-item {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.carousel-item form {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Ensure button is properly centered and aligned */
.carousel-item form button.btn-primary {
  display: inline-block;
  width: 160px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  border: none;
}

/* Remove hover motion from Sign-in button */
button:hover,
button:active {
  transform: none !important;
}

.carousel-item form button.btn-primary:hover,
.carousel-item form button.btn-primary:active {
  transform: none !important;
}

.modal-footer {
  background: #f7f8fa !important;
  border-top: 1px solid #e2e4e7 !important;
  padding: 8px 0 !important;
  border: none !important;
  margin-top: 0 !important;
  font-size: 13px !important;
  color: #555 !important;
  text-align: center !important;
  box-shadow: none;
}

.modal-footer a {
  color: #0071e3 !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.modal-footer a:hover {
  color: #003f7a !important;
  text-decoration: underline;
}

/* Center "Forgot password?" link */
.modal-body .form-signin .forgot {
  text-align: center !important;
  margin-top: 10px;
}

/* Hide Cognito labels - use placeholders instead */
label[for*="signin-"] {
  display: none !important;
}

/* Info (normal sign-in issues) */
.alert-box.info {
  background-color: #eaf1ff;
  border: 1px solid #b6cfff;
  color: #004a93;
}

/* Error (serious issues) */
.alert-box.error {
  background-color: #fff1f1;
  border: 1px solid #f3bebe;
  color: #a40000;
}

/* ---------- Footer comfortably sized ---------- */
.login-footer,
.modal-footer {
  background: #eef0f3 !important;
  border-top: 1px solid #d7dade !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  padding-top: 5px !important;
  padding-bottom: 6px !important;
  margin: 0 !important;
  height: auto !important;  /* lets it fit text naturally */
  color: #555 !important;
  box-shadow: 0 -1px 3px rgba(0,0,0,0.03) !important;
}

.login-footer a,
.modal-footer a {
  color: #005BAA !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
.login-footer a:hover,
.modal-footer a:hover {
  color: #003f7a !important;
  text-decoration: underline !important;
}

div.modal-footer * {
  margin: 0 !important;
  padding: 0 !important;
}

.alert-box.fade-out {
  animation: fadeOut 0.3s ease-in-out forwards;
}

@keyframes dissolveIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(4px);
  }
}

.card {
  background-color: #2d2d2d;
  color: #ffffff;
}

/* Update form controls */
.form-control, .custom-select {
  background-color: #2d2d2d;
  color: #ffffff;
  border-color: #404040;
}

.form-control:focus {
  background-color: #2d2d2d;
  color: #ffffff;
}

/* Update dropdowns */
.dropdown-menu {
  background-color: #2d2d2d;
  color: #ffffff;
}

.dropdown-item {
  color: #ffffff;
}

.dropdown-item:hover {
  background-color: #121212;
  color: #ffffff;
}

/* Update list groups */
.list-group-item {
  background-color: #2d2d2d;
  color: #ffffff;
  border-color: #404040;
}

/* Update table styles */
.table {
  color: #ffffff;
}

.table td, .table th {
  border-color: #404040;
}

/* Update scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #505050;
}

/* Update background utility classes */
.bg-light {
  background-color: #2d2d2d!important;
}

.bg-white {
  background-color: #1e1e1e!important;
}

.bg-f0 {
  background-color: #2d2d2d!important;
}

/* Update borders */
.border {
  border-color: #404040!important;
}

/* Update dropzone */
.dropzone {
  border-color: #404040;
  color: #9e9e9e;
}

.dropzone:hover {
  border-color: #505050;
}

/* Update text colors for content */
.category {
  color: #ffffff;
}

.preview-nav-caret::before {
  color: #ffffff;
}

.lead-xl, .lead-lg, .lead-m, .lead-s, .lead-sm, .lead-xs, .lead-xxs {
  color: #ffffff;
}

/* Update text colors for various states */
.text-muted {
  color: #9e9e9e!important;
}

.text-dark {
  color: #ffffff!important;
}

/* Update background colors */
.bg-light-c {
  background-color: #2d2d2d;
}

.bg-light-d {
  background-color: #1e1e1e;
}

.bg-light-e {
  background-color: #121212;
}

/* Update custom background colors */
.custom-bg {
  color: #404040;
}

/* Update text colors for links */
a {
  color: #007bff;
}

a:hover {
  color: #0056b3;
}

/* Update text colors for buttons */
.btn-light {
  background-color: #2d2d2d;
  border-color: #404040;
  color: #ffffff;
}

.btn-light:hover {
  background-color: #1e1e1e;
  border-color: #505050;
  color: #ffffff;
}

/* Update text colors for badges */
.badge {
  color: #ffffff;
}

/* Update colors for form labels */
label {
  color: #ffffff;
}

/* Update colors for input placeholders */
::placeholder {
  color: #9e9e9e!important;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #9e9e9e!important;
}

::-ms-input-placeholder {
  color: #9e9e9e!important;
}

/* Update navbar styles with Chicago sports red theme */
.navbar-nav .nav-link {
  color: #ffffff!important;
  background-color: #121212!important;
}

.navbar-nav .nav-link:hover {
  color: #dc3545!important;
  background-color: #121212!important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active.show {
  color: #dc3545!important;
  background-color: #121212!important;
  border-bottom: 2px solid #dc3545;
}

/* Update search tab specific styles */
.nav-link.search-border {
  color: #ffffff!important;
  border-color: #404040;
}

.nav-link.search-border:hover {
  color: #dc3545!important;
  border-color: #dc3545;
}

/* Update other nav related styles */
.nav-tabs .nav-link {
  color: #ffffff;
}

.nav-tabs .nav-link:hover {
  color: #dc3545;
}

.nav-tabs .nav-link.active {
  background-color: #2d2d2d;
  color: #dc3545;
  border-color: #dc3545;
}

/* Update main menu tabs background */
.navbar {
  background-color: #2B3D53!important; /* CHSN dark blue */
  min-height: 60px;
}

/* Update sports tabs styling */
.navbar-nav.w-100 .nav-link {
  background-color: #3b4867!important; /* CHSN blue */
  color: #ffffff!important;
  margin: 0 2px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.navbar-nav.w-100 .nav-link:hover {
  background-color: #4b5a7c!important; /* Slightly lighter blue on hover */
}

.navbar-nav.w-100 .nav-link.active,
.navbar-nav.w-100 .nav-link.active.show {
  background-color: #CB2C30!important; /* CHSN red when active */
  border-bottom: none;
}

/* Keep search tab styling consistent but with border */
.navbar-nav.w-100 .nav-link.search-border {
  background-color: #1e1e1e!important;
  border: 1px solid #404040;
  margin-left: auto;
}

.navbar-nav.w-100 .nav-link.search-border:hover {
  background-color: #2d2d2d!important;
  border-color: #dc3545;
}

/* Hide inactive carousel slides on login */
.carousel-item:not(.active) {
  display: none !important;
}

/* Update button styles to match Chicago Sports Network theme */
.btn-outline-dark {
  color: #ffffff;
  background-color: #121212;
  border: 1px solid #404040;
  transition: all 0.2s ease-in-out;
}

.btn-outline-dark:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
}

/* Add general button styling classes */
.btn-csn {
  color: #ffffff;
  background-color: #121212;
  border: 1px solid #404040;
  transition: all 0.2s ease-in-out;
}

.btn-csn:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
}

.btn-csn-red {
  color: #ffffff;
  background-color: #dc3545;
  border: 1px solid #ffffff;
  transition: all 0.2s ease-in-out;
}

.btn-csn-red:hover {
  color: #ffffff;
  background-color: #121212;
  border-color: #404040;
}

/* Update disabled state */
.btn-outline-dark:disabled,
.btn-csn:disabled,
.btn-csn-red:disabled {
  color: #6c757d;
  background-color: #2d2d2d;
  border-color: #404040;
}

/* Update all button variants to match theme */
.btn {
  border-radius: 0;
  transition: all 0.2s ease-in-out;
}

/* Primary buttons */
.btn-primary {
  color: #ffffff;
  background-color: #3b4867;
  border: 1px solid #3b4867;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #CB2C30;
  border-color: #CB2C30;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(203, 44, 48, 0.3);
}

/* Secondary buttons */
.btn-secondary {
  color: #ffffff;
  background-color: #121212;
  border: 1px solid #404040;
}

.btn-secondary:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
}

/* Light buttons */
.btn-light {
  color: #ffffff;
  background-color: #121212;
  border: 1px solid #404040;
}

.btn-light:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
}

/* Dark buttons */
.btn-dark {
  color: #ffffff;
  background-color: #121212;
  border: 1px solid #404040;
}

.btn-dark:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
}

/* Success buttons */
.btn-success {
  color: #ffffff;
  background-color: #28a745;
  border: 1px solid #ffffff;
}

.btn-success:hover {
  color: #ffffff;
  background-color: #121212;
  border-color: #404040;
}

/* Danger buttons */
.btn-danger {
  color: #ffffff;
  background-color: #dc3545;
  border: 1px solid #ffffff;
}

.btn-danger:hover {
  color: #ffffff;
  background-color: #121212;
  border-color: #404040;
}

/* Warning buttons */
.btn-warning {
  color: #000000;
  background-color: #ffc107;
  border: 1px solid #404040;
}

.btn-warning:hover {
  color: #ffffff;
  background-color: #121212;
  border-color: #ffc107;
}

/* Info buttons */
.btn-info {
  color: #ffffff;
  background-color: #17a2b8;
  border: 1px solid #ffffff;
}

.btn-info:hover {
  color: #ffffff;
  background-color: #121212;
  border-color: #404040;
}

/* Outline variants */
.btn-outline-primary {
  color: #dc3545;
  background-color: transparent;
  border: 1px solid #dc3545;
}

.btn-outline-primary:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
}

.btn-outline-secondary {
  color: #ffffff;
  background-color: transparent;
  border: 1px solid #404040;
}

.btn-outline-secondary:hover {
  color: #ffffff;
  background-color: #dc3545;
  border-color: #ffffff;
}

/* Disabled state for all buttons */
.btn:disabled,
.btn.disabled {
  color: #6c757d;
  background-color: #2d2d2d;
  border-color: #404040;
  opacity: 0.65;
}

/* Active state for all buttons */
.btn:active,
.btn.active {
  box-shadow: none;
}

/* Focus state for all buttons */
.btn:focus,
.btn.focus {
  box-shadow: none;
}

/* Update disabled input styling */
.form-control:disabled,
.form-control[readonly],
input:disabled {
  background-color: #404040;
  color: #9e9e9e;
  border-color: #505050;
  opacity: 0.8;
}

/* Add spacing between media items */
#media-list .col-3 {
  padding: 1rem;
}

/* Update media item styling */
.col-3[data-uuid] {
  transition: transform 0.2s ease-in-out;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

/* Update thumbnail image styling */
.col-3[data-uuid] img {
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
  display: block; /* Remove bottom gap */
}

/* Update overlay styling */
.card-img-overlay.category {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border: none;
}

.col-3[data-uuid]:hover .card-img-overlay.category {
  opacity: 1;
}

/* Update load more button styling */
div[data-uuid="load-more"] {
  border: 2px dashed #404040;
  border-radius: 12px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  display: flex;
  position: relative;
  overflow: hidden;
  transform: none !important;
  width: 100%;
  height: 100%;
  background: rgba(220, 53, 69, 0.05);
}

div[data-uuid="load-more"]:hover:not(.loading) {
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.15);
}

div[data-uuid="load-more"] .category {
  background-color: transparent !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: none !important;
}

/* Loading state styling */
div[data-uuid="load-more"].loading .normal-state {
  display: none;
}

div[data-uuid="load-more"] .loading-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

div[data-uuid="load-more"].loading .loading-state {
  display: flex;
}

div[data-uuid="load-more"] .loading-indicator {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(220, 53, 69, 0.2);
  border-top: 3px solid #dc3545;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

div[data-uuid="load-more"] .loading-text {
  color: #dc3545;
  font-weight: 500;
  font-size: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Normal state styling */
div[data-uuid="load-more"] .normal-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

div[data-uuid="load-more"] .bounce {
  animation: bounce 2s infinite;
  margin-bottom: 1rem;
}

div[data-uuid="load-more"] .lead {
  color: #dc3545;
  font-weight: 500;
  margin: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Optional: Add specific colors for the new buttons */
.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #007bff;
}

.btn-outline-light {
  color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light:hover {
  color: #212529;
  background-color: #f8f9fa;
}

/* Multi-select styling */
.media-selected {
  position: relative;
  outline: 3px solid #dc3545;
  border-radius: 12px;
}

.media-selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  background: #dc3545;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 900;
}

/* Bulk action bar styling */
.bulk-action-bar {
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  padding: 1rem !important;
}

.bulk-action-bar button {
  padding: 0.375rem 1rem;
}

.bulk-action-bar span {
  font-size: 1rem;
  font-weight: 400;
}

/* Hover effect for selectable items */
.col-3[data-uuid]:hover {
  cursor: pointer;
}

/* Selection mode styling */
.selection-mode .card-img-overlay.category {
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(220, 53, 69, 0.1) 0%,
    rgba(220, 53, 69, 0.3) 50%,
    rgba(220, 53, 69, 0.5) 100%
  );
}

.selection-mode .media-selected .card-img-overlay.category {
  background: linear-gradient(
    180deg,
    rgba(220, 53, 69, 0.2) 0%,
    rgba(220, 53, 69, 0.4) 50%,
    rgba(220, 53, 69, 0.6) 100%
  );
}

/* Add hover animation for select button */
.btn-outline-primary.select-btn:hover {
  animation: pulse 1s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Selection mode indicator */
.selection-mode {
  position: relative;
}

.selection-mode::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #dc3545;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Wiki styles */
.markdown-body h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5rem;
}

.markdown-body h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.markdown-body h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.markdown-body p {
  margin-bottom: 1rem;
}

.markdown-body ul,
.markdown-body ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.markdown-body li {
  margin-bottom: 0.5rem;
}

.markdown-body code {
  background: #333;
  padding: 2px 5px;
  border-radius: 3px;
}

.markdown-body a {
  color: #00b9f1;
  text-decoration: none;
}

.markdown-body a:hover {
  text-decoration: underline;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: #1a1a1a;
  margin: 1rem 0;
}

.video-wrapper .video-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Modern styling for video.js */
.video-js {
  background-color: #1a1a1a !important;
}

.video-js .vjs-big-play-button {
  background-color: rgba(220, 53, 69, 0.8) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 64px !important;
  height: 64px !important;
  line-height: 64px !important;
  transition: all 0.3s ease !important;
}

.video-js .vjs-big-play-button:hover {
  background-color: #dc3545 !important;
  transform: scale(1.1);
}

.video-js .vjs-control-bar {
  background-color: rgba(26, 26, 26, 0.9) !important;
  height: 4em;
}

.video-js .vjs-progress-control .vjs-progress-holder {
  margin: 0 10px;
}

.video-js .vjs-play-progress {
  background-color: #dc3545 !important;
}

.video-js .vjs-slider {
  background-color: rgba(255, 255, 255, 0.2);
}

.video-js .vjs-load-progress {
  background: rgba(255, 255, 255, 0.3);
}

.video-js .vjs-time-control {
  font-size: 14px;
  padding-left: 10px;
}

.video-js .vjs-control:focus:before,
.video-js .vjs-control:hover:before {
  text-shadow: 0 0 1em #dc3545;
}

/* Custom CHSN theme */
.video-js .vjs-menu-button-popup .vjs-menu {
  bottom: 3em;
}

.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
  background-color: rgba(26, 26, 26, 0.9);
  border-radius: 8px;
  padding: 8px 0;
}

.video-js .vjs-menu li {
  padding: 8px 15px;
  font-size: 14px;
}

.video-js .vjs-menu li:hover {
  background-color: #dc3545;
}

/* Add subtle gradient overlay */
.video-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

/* User Management Table Styles */
.user-table {
  width: 100%;
  background: transparent;
  border-spacing: 0;
  border-collapse: collapse;
  margin-top: 1rem;
}

.user-table-header {
  background: transparent;
  border-bottom: 2px solid #363636;
}

.user-table-th {
  border: none !important;
  color: #9e9e9e;
  font-weight: 500;
  padding: 16px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.user-table-row {
  border-bottom: 1px solid #363636;
  transition: all 0.2s ease;
}

.user-table-row:hover {
  background: rgba(220, 53, 69, 0.1);
}

.user-table-td {
  border: none !important;
  padding: 16px !important;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Group Badge Styling */
.group-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
  background: #dc3545;
  color: white;
  letter-spacing: 0.3px;
}

/* Status Badge Styling */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

.status-confirmed {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.status-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.status-force_change_password {
  background: rgba(23, 162, 184, 0.2);
  color: #17a2b8;
}

/* Remove Button Styling */
.remove-user-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
  color: #9e9e9e;
}

.remove-user-btn:hover {
  background-color: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #dc3545;
}

.remove-user-btn:hover i {
  color: #dc3545;
}

.remove-user-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.remove-user-btn i {
  font-size: 1rem;
  transition: all 0.2s ease;
}

/* Column specific styling */
.user-table-td:first-child {
  font-weight: 500;
  color: #ffffff;
}

.user-table-td:nth-child(2) {
  color: #9e9e9e;
}

.user-table-td:nth-child(5) {
  color: #9e9e9e;
  font-size: 0.85rem;
}

/* Add subtle animation for new rows */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-table-row {
  animation: fadeIn 0.3s ease-out;
}

/* Responsive table */
@media (max-width: 768px) {
  .user-table-td,
  .user-table-th {
    padding: 12px 8px !important;
  }
  
  .group-badge,
  .status-badge {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

/* Update spacing for collapsible sections */
.col-12.p-0.mt-4.mb-4.bg-light {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

/* Modern Permission Styles */
.permission-header {
  border-bottom: 1px solid #363636;
  padding-bottom: 1rem;
}

.permission-card {
  background: #2d2d2d;
  border: 1px solid #363636;
  border-radius: 8px;
  overflow: hidden;
}

.permission-card-header {
  background: #363636;
  padding: 1rem;
  border-bottom: 1px solid #404040;
}

.permission-card-header h6 {
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.permission-card-body {
  padding: 1.5rem;
}

.permission-section-title {
  color: #dc3545;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.permission-toggle-container {
  padding: 0.5rem 0;
  border-bottom: 1px solid #363636;
}

.permission-toggle-container:last-child {
  border-bottom: none;
}

.permission-label {
  color: #ffffff;
  font-size: 0.9rem;
}

/* Custom switch styling */
.custom-switch .custom-control-label::before {
  background-color: #4d4d4d;
  border-color: #606060;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #dc3545;
  border-color: #dc3545;
}

.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Save button container */
.save-container {
  border-top: 1px solid #363636;
  padding-top: 1rem;
}

/* Advanced Settings Styling */
.btn-link.p-0.mb-3[data-toggle="collapse"] {
  color: #9e9e9e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 16px !important;
  margin-bottom: 1rem !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  background: #2d2d2d;
  border: 1px solid #404040;
  border-radius: 4px;
}

.btn-link.p-0.mb-3[data-toggle="collapse"]:hover {
  color: #dc3545;
  background: #363636;
  border-color: #dc3545;
}

.btn-link.p-0.mb-3[data-toggle="collapse"]::before {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 0.8rem;
  margin-right: 8px;
  transition: transform 0.2s ease;
}

.btn-link.p-0.mb-3[data-toggle="collapse"][aria-expanded="true"]::before {
  transform: rotate(90deg);
}

/* Collapsible content styling */
#advancedSettings {
  background: #2d2d2d;
  border: 1px solid #404040;
  border-radius: 4px;
  padding: 1.5rem;
  margin-top: 0.5rem;
}

#advancedSettings.collapsing {
  transition: height 0.35s ease;
}

#advancedSettings.show {
  animation: fadeInSettings 0.3s ease-out;
}

@keyframes fadeInSettings {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Settings form styling */
#advancedSettings .form-group {
  margin-bottom: 1.5rem;
}

#advancedSettings label {
  color: #9e9e9e;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

#advancedSettings .form-control {
  background: #1e1e1e;
  border: 1px solid #404040;
  color: #ffffff;
  transition: all 0.2s ease;
}

#advancedSettings .form-control:focus {
  border-color: #dc3545;
  box-shadow: none;
  background: #262626;
}

#advancedSettings .custom-select {
  background-color: #1e1e1e;
  border: 1px solid #404040;
  color: #ffffff;
}

#advancedSettings .custom-select:focus {
  border-color: #dc3545;
  box-shadow: none;
  background-color: #262626;
}

/* Settings sections */
#advancedSettings .settings-section {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #363636;
}

#advancedSettings .settings-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Settings help text */
#advancedSettings .form-text {
  color: #6c757d;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* Search Results Table */
.search-result-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-result-row:hover {
  background-color: rgba(220, 53, 69, 0.1);
}

.search-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
}

/* Table Styling */
.table {
  width: 100%;
  table-layout: fixed;
}

.table td,
.table th {
  vertical-align: middle;
  padding: 0.75rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Keep thumbnail column fixed */
.table td:first-child,
.table th:first-child {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
}

/* Name Column */
.search-result-name {
  color: #ffffff !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Badge Styling */
.badge-container {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
}

.badge {
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  margin-right: 4px;
}

.badge-info {
  background-color: #17a2b8;
  color: white;
}

.badge-secondary {
  background-color: #6c757d;
  color: white;
}

/* Resizable Columns */
.resizable {
  position: relative;
  min-width: 100px;
}

.resizer {
  position: absolute;
  top: 0;
  right: -3px;
  width: 6px;
  height: 100%;
  background-color: #404040;
  cursor: col-resize;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.resizable:hover .resizer,
.resizing .resizer {
  opacity: 1;
}

/* Checkbox Styling */
.custom-control {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 2.5rem;
  margin-bottom: 0.75rem;
}

.custom-control-input {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  z-index: 1;
  opacity: 0;
}

.custom-control-label {
  position: relative;
  margin-bottom: 0;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.custom-control-label::before {
  position: absolute;
  top: 0.25rem;
  left: -2rem;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-color: #1e1e1e;
  border: 1px solid #404040;
  transition: all 0.2s ease;
}

.custom-control-label::after {
  position: absolute;
  top: 0.25rem;
  left: -2rem;
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #dc3545;
  border-color: #dc3545;
}

.custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

/* Filter Menu */
.filter-menu {
  min-width: 300px;
  padding: 1rem !important;
  background-color: #2d2d2d;
  border: 1px solid #404040;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.dropdown-menu.filter-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  z-index: 1000;
  max-height: 350px;
  overflow-y: auto;
}

.dropdown-header {
  color: #dc3545;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  border-bottom: 1px solid #404040;
  margin-bottom: 1rem;
}

/* Filter Button */
.btn-outline-secondary.dropdown-toggle {
  color: #ffffff;
  border-color: #404040;
  background-color: transparent;
}

.btn-outline-secondary.dropdown-toggle:hover,
.btn-outline-secondary.dropdown-toggle:focus {
  color: #ffffff;
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
}

/* Container */
#searchresult-container {
  overflow-x: auto;
  min-height: 400px;
}

/* Hide columns when toggled off */
.d-none {
  display: none !important;
}

/* Attribute Search Styling */
.attr-container {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}

.attr-pair {
  background-color: #2d2d2d;
  padding: 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid #404040;
}

.attr-pair:hover {
  background-color: #363636;
}

.attr-pair .input-group {
  flex: 1;
}

.attr-pair .input-group-text {
  background-color: #1e1e1e;
  border-color: #404040;
  color: #9e9e9e;
  border-left: 0;
  border-right: 0;
}

.attr-pair .form-control {
  background-color: #1e1e1e;
  border-color: #404040;
  color: #ffffff;
}

.attr-pair .form-control:first-child {
  border-right: 0;
}

.attr-pair .form-control:last-child {
  border-left: 0;
}

.attr-pair .form-control:focus {
  background-color: #262626;
  border-color: #dc3545;
  color: #ffffff;
  box-shadow: none;
}

.attr-pair .btn-outline-danger {
  width: 40px;
  padding: 0.375rem;
  color: #dc3545;
  border-color: #dc3545;
}

.attr-pair .btn-outline-danger:hover {
  background-color: #dc3545;
  color: #ffffff;
}

/* Custom scrollbar for attribute container */
.attr-container::-webkit-scrollbar {
  width: 6px;
}

.attr-container::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 3px;
}

.attr-container::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 3px;
}

.attr-container::-webkit-scrollbar-thumb:hover {
  background: #505050;
}

/* List View Styles */
.list-media-item {
  border-bottom: 1px solid #404040;
  transition: all 0.2s ease;
  background-color: #2d2d2d;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.list-media-item:hover {
  background-color: #363636;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.list-media-item.selected {
  background-color: rgba(220, 53, 69, 0.15);
  border-left: 4px solid #dc3545;
}

.list-thumbnail {
  height: 60px;
  width: 100px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #404040;
}

/* Modern View Toggle */
.view-toggle-group .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #404040;
  transition: all 0.2s ease;
}

.view-toggle-group .btn.active {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.view-toggle-group .btn:not(.active):hover {
  border-color: #dc3545;
  color: #dc3545;
}

/* List View Typography */
.list-media-item .media-name {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

.list-media-item .media-duration {
  color: #9e9e9e;
  font-size: 0.85rem;
}

/* List Action Buttons */
.list-media-item .btn-group .btn {
  padding: 6px 12px;
  border-radius: 4px;
  margin-left: 8px;
}

.list-media-item .btn-outline-primary {
  border-color: #404040;
  color: #9e9e9e;
}

.list-media-item .btn-outline-primary:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.list-media-item .btn-outline-danger {
  border-color: #404040;
  color: #9e9e9e;
}

.list-media-item .btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

/* Update download button color in list view */
.list-media-item .btn-outline-primary {
  border-color: #007bff;
  color: #007bff;
}

.list-media-item .btn-outline-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

/* Modern Load More styles */
.list-media-item.load-more {
  background-color: #2d2d2d;
  transition: all 0.3s ease;
  cursor: pointer;
}

.list-media-item.load-more:hover {
  background-color: #363636;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.list-media-item.load-more .fa-chevron-down {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}