 /*Modal*/

    .modal {
    overflow-x: hidden; /* hide horizontal scrollbar */
    overflow-y: auto;   /* allow vertical scroll if needed */
    }

    .modal-dialog {
    max-height: 56vh; /* or 60vh, adjust to preference */
    margin: auto;
    }

    .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;

    }

    .modal-body {
    overflow-y: auto;
    flex-grow: 1;
    padding: 1rem 1.5rem; /* lighter padding to keep some space */
    }

    .modal-header {
    border: none !important;
    }

    #modal_video_search_progressbar .modal-header{
    padding-top:0px;
    padding-bottom:0px;
    }

    .modal-footer{
    border:1px solid var(--bs-custom-dropdown-divider-bg);!important;
    }

    /* .modal-open {
    overflow: auto;
    }

    .modal-open[style] {
    padding-right: 0px !important;
    } */

    /*So that modal not shifts*/

    body.modal-open {
    position: fixed;
    overflow-y: scroll;
    width: 100%;
    padding-right: 0!important;
    }
    .modal-open .fixed-top {
    padding-right: inherit!important;
    }

     .modal-body .nav-tabs {
   border-radius: 0 !important;
   border-bottom: 1px solid var(--bs-custom-dropdown-divider-bg) !important;
   margin-bottom: 1rem; /* optional spacing below tabs */
   }

   .modal-body .nav-tabs .nav-link {
   border: none !important;
   background: transparent !important;
   color: var(--bs-custom-text-weak);
   font-weight: 600;
   transition: color 0.3s ease, border-color 0.3s ease;
   }

   .modal-body .nav-tabs .nav-link:hover {
   border: none !important;
   color: var(--bs-primary);
   cursor: pointer;
   }

   .modal-body .nav-tabs .nav-link.active {
   border-top: none !important;
   background: transparent !important;
   border-bottom: 3px solid var(--bs-primary) !important;
   border-radius: 0 !important;
   color: var(--bs-primary) !important;
   font-weight: 700;
   cursor: default;
   }

   .modal .campaigns-modal__input-description {
  min-height: 150px;
  resize: none;
}


.modal .campaigns-modal__input-description {
  min-height: 150px;
  resize: none;
  padding-top: 0.5rem; /* adds space on top */
  padding-left: 0.5rem; /* optional, add some left padding for better look */
  padding-right: 0.5rem; /* optional */
  padding-bottom: 0.5rem; /* optional, for balanced padding */
}


.name-char-count {
  bottom: -25px; /* Same as description counter if that works for you */
  right: 16px; /* Matches the padding of the input */
  position: absolute;
  font-size: 0.75rem;
  pointer-events: none;
}


#descriptionCharCount {
  font-size: 0.75rem !important; /* Bootstrap's small text is usually 0.875rem */
}

