.error {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: var(--bs-form-invalid-color);
}

/* .table th,
.table td {
    text-align: left;
} */

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.red{
    color: red;
}
.pdf-icon{
    width: 100px!important;
}

span.pdf-name-text {
    display: block;
    overflow: hidden;
    font-size: 13px;
    margin-left: 19px;
    word-wrap: break-word;
    margin-top: 5px;
    font-weight: 500;
}

.form-control {
    border-radius: 10px;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #07d1e6;
    box-shadow: 0 0 8px rgba(37, 156, 159, 0.25);
}

.progress-bar {
    height: 100%!important;
}

input::placeholder {
    color: rgb(210, 210, 210)!important;
    opacity: 1;
}


/* Admin UI chnages*/


.nav-link {
    color: #087faf;
    background: #f9fbff;
    border-radius: 0.6rem!important;
}

.sidebar-nav .nav-link.active {
    color: #4154f1;
    background: #f6f9ff;
    border-radius: 0.6rem!important;
}

.nav-content.collapse li.active {
    color: #4154f1;
    background: #f6f9ff;
    border: 1px solid #dee9ff;
    border-radius: 0.6rem!important;
}

.sidebar-nav .nav-link.logout, .sidebar-nav .nav-link.logout:hover {
    color: #f14141;
    background: #fff6f6;
}

.card {
    border-radius: 0.7rem;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
    border: 1px solid #99b0ff;
}

.card-header {
    border-radius: 0.7rem 0.7rem 0 0!important;
}

.dataTables_length {
    font-size: 1rem;
    line-height: 2;
}

.dataTables_length .select2.select2-container {
    margin: 0 0.6rem;
}

.select2-container--default .select2-selection--single {
    padding: 0 8px!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 55%!important;
}

table.dataTable th, table.dataTable td {
    padding: 0.7rem 0.6rem !important;
    white-space: nowrap;
    text-align: left;
}

.table-responsive {
    margin-top: 0.7rem!important;
    margin-top: 0px !important;
}

table.dataTable {
    clear: both;
    margin-top: 0px !important;
}

.dataTables_wrapper, .dataTables_wrapper .dataTables_info {
    margin-top: 0.6rem!important;
    font-size: 1rem;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 0.2rem!important;
}

.dataTables_wrapper .dataTables_paginate {
    margin-bottom: 0.5rem!important;
}

.card-header, .card-footer {
    padding: 0.5rem;
}

td ul {
    margin-bottom: 0px!important;
}

#main {
    padding: 10px 15px!important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    font-size: 1rem;
}

td img {
    height: 1.8rem!important;
    width: auto!important;
}

.repo-div-repo {
    margin-top: 0!important;
}

.column_filter_search_box {
    margin-top: 0.6rem!important;
}

.dataTable select {
    height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    font-weight: 400;
    display: block;
    min-width: 160px;
    width: 100%;
    border-radius: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Popup overlay styling */
.image-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

/* Popup content styling */
.image-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-popup-content img {
    min-width: 10%;
    max-width: 50%;
    height: auto;
    border: 3px solid white;
    border-radius: 8px;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    top: 50%;
    background-color: #fff;
    padding: 1rem;
}

/* Close button styling */
.image-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
}

.dataTable td img {
    cursor: pointer;
}

.cke_notifications_area {
    display: none;
}

.email-chip {
    display: inline-block;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    margin: 2px;
    border-radius: 15px;
    font-size: 12px;
    cursor: default;
    position: relative;
  }
  
  .email-chip span {
    margin-left: 8px;
    cursor: pointer;
  }
  .email-input-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    min-height: 40px;
  }
  .email-input-container input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 150px;
  }
  
#loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#loader-container.fade-out {
    opacity: 0;
}

.loader-wrapper {
    text-align: center;
    position: relative;
    width: 140px;
    height: 140px;
}

.loader-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #f3f3f3;
    border-left: 4px solid #2fdaca;
    border-right: 4px solid #1bc950;
    animation: spin 1s linear infinite;
    -webkit-mask: radial-gradient(transparent 55%, black 56%);
    mask: radial-gradient(transparent 55%, black 56%);
}

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

.loader-content {
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

#loader-text {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.loader-subtext {
    color: #666;
    font-size: 12px;
    margin-top: 4px;
    font-family: 'Poppins', sans-serif;
}

.modal-full {
    max-width: 100vw !important;
    margin-top: 0;
}

input[type="checkbox"] {
    cursor: pointer;
    height: 1.2rem;
    width: 1.2rem;
}

.cursor-pointer {
    cursor: pointer!important;
}

.video.category-item.active .btn {
    display: none;

}

.video.category-item:not(.active):hover {
    background-color: #f4f4f4;
}

textarea {
    font-size: 1rem!important;
}

.single-line-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.file-upload-wrapper {
    display: flex!important;
}

#loader-quotes {
    width: 30vw;
    text-align: center;
    margin-top: 1rem;
    font-weight: bolder;
}

.dashboard .skeleton {
    position: relative;
    background-color: #e2e5e7;
    overflow: hidden;
    border-radius: 0.7rem;
    box-shadow: 0 0 20px 8px rgb(0 0 0 / 5%);
    border-color: #d5d5d5 !important;
}

.dashboard .skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150px;
    height: 100%;
    width: 150px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-loading 1.5s infinite;
}
.dashboard-container {
    height: 3000px!important;
    position: relative; /* Parent should be relative */
    width: 100%;  /* Adjust as needed */
}

.dashboard-section {
    position: absolute;  /* Make both divs overlap */
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
    opacity: 0;
    pointer-events: none; /* Prevent interaction when hidden */
}

.dashboard-section.active {
    opacity: 1;
    pointer-events: auto; /* Allow interaction when visible */
}

.dashboard-group {
    border: 1px solid #606060 !important;
    height: 40px !important;
    border-radius: 0.6rem !important;
}

.dashboard .btn-date {
    border-radius: 0.5rem;
}

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

.dashboard .counter-progress {
    font-size: 12px!important;
    margin-left: 0.3rem!important;
}

.dashboard .count-block:not(:last-child) {
    border-right: 1px solid #ddd;
    padding-right: 15px; /* Optional */
}

.dashboard .count-block .bottom-title {
    font-size: 13px;
}

@keyframes skeleton-loading {
    0% {
        left: -150px;
    }
    100% {
        left: 100%;
    }
}

.dashboard .goto-arrow {
    background-color: #e7f2ff;
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    padding: 0.2rem 0.4rem;
    position: absolute;
    right: 0.8rem;
    bottom: 1rem;
}