.logout-btn {
    right: 30px;
    padding: 0.25rem 1rem !important;

}

.gap {
    height: 65px;

}

.primary-bt {
    background-color: var(--accent);
    color: #f2f2f2
}

.secondary-bt {
    background-color: var(--primary);
    color: white;
}

.chat-interface .send button {
    background-color: var(--accent);
    overflow: hidden;
}

.chat-interface .send button[disabled] {
    background-color: #0001;
}


.logout-btn a {
    border-radius: 20px !important;
}

.top-page-links a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;

    height: max-content;
    padding: 0.25rem 1rem;
}

.top-page-links a:not(.logout-btn a) {
    color: black;
}

.top-page-links a.active {
    background-color: var(--accent) !important;
    border-radius: 20px;
}

.top-page-links a:hover {
    border-radius: 20px;
}

a.nav-link:hover {
    border-radius: 20px;
    background-color: var(--accent) !important;
    cursor: pointer;
    color: white !important;
}

.priority {
    font-size: 14px;
    border-radius: 20px !important;
    padding: 0.125rem 0.5rem !important;
}

.my-own-card {
    WIDTH: 320px;
    max-width: 100%;
    border-radius: 12px;

    background-color: #0001;
    /* border-radius: 0px; */
    /* background: light-dark(#f8f9fb, #111415); */
}

.case-dialog {
    WIDTH: 95%;
    max-width: 800px;
    border-radius: 0.375rem;


    /* background-color: white; */
}

.my-own-card.dialog {
    width: 100%;
}

.last-flex {
    display: none;
    /* display: flex; */
    justify-content: flex-end;
}

.view-btn {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-weight: 500;
    background-color: #fff3;
    border: 1px solid;
    border-color: rgb(0, 196, 154);
    box-shadow: 2px 2px 7px 0px rgb(0, 0, 0, .15);
    cursor: pointer;

}



.view-btn:hover {
    background-color: rgb(209, 52, 91);
    border-color: #D1345B;
    color: white !important;
}

.view-btn:hover i {}

.rounded-icon {
    width: 25px;
    /* display: none !important; */
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    background-color: #0001;
}

.title-cont.d-flex.flex-column {
    /* flex-direction: column-reverse !important; */
}

.rounded-icon i {
    font-size: 12px;

    /* color: light-dark(#f8f9fb, #111415);
    ; */
}

.bottom-card {
    font-size: 14px;
    flex: 1 1 auto;
    border: 1px solid #dedede;
    background-color: #fff3;
}

.dialog .top-left .bottom-card {
    border: 1px solid #dedede;
    /* background-color: #0001; */
    width: 100% !important;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main-title {
    /* font-weight: lighter; */
}

.cont {
    /* border: 1px solid #dedede;
    background-color: #fff9;
    padding: 0.25rem 0.75rem; */
    /* margin-top: 8px; */
    border-radius: 20px;
}

.middle-flex {
    line-height: 21px;
}

.subject,
.minimal-description {
    color: #000a !important;
}

.minimal-description {
    font-family: "Nunito Sans", sans-serif;
}

.dialog .top-left .title-cont {
    flex: 1 1 30%;
    font-family: 'Nunito Sans', sans-serif;
}

.dialog .middle-flex.with-bottom .bottom-card {
    background-color: transparent;
    border-color: transparent;
    flex-wrap: wrap;
    gap: 15px !important;

}

.dialog .middle-flex.with-bottom .bottom-card .title-cont {
    border: 1px solid #dedede;
    background-color: #fff3;
    flex: 1 1 max-content;
    padding: 0.25rem;
    border-radius: 0.375rem;
}

.dialog .middle-flex.with-bottom .bottom-card .title-cont .priority {
    padding: 0px !important;
    color: #000a;
}

.sub-cont {
    font-size: 12px;

}

.file-name {
    color: #000a;
}

.together-nav {
    max-width: 100%;
    display: flex;
}

.together-nav,
.together-nav a {
    border-radius: 30px;

    color: black;
    background-color: #0001;
    text-decoration: none;
}

.together-nav a {
    white-space: nowrap;
    padding: 0.15rem 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: transparent;
    font-family: 'Nunito Sans', sans-serif;
}

.together-nav a:hover,
.together-nav a.active {
    color: white;
    cursor: pointer;
    background-color: #D1345B;
}




:root {
    --primary: #D1345B;
    --accent: #00C49A;
    --bg-dark: #1e1e2f;
    --text-light: #f0f0f0;

    /* Bootstrap Overrides */
    --bs-nav-pills-link-active-bg: var(--accent);
    --bs-primary: var(--accent);
    --bs-primary-rgb: 0, 196, 154;
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: #00a884;
    --bs-btn-hover-border-color: #00a884;
    --bs-btn-active-bg: #00a884;
    --bs-btn-active-border-color: #00a884;
    --bs-btn-disabled-bg: var(--accent);
    --bs-btn-disabled-border-color: var(--accent);
}

/* Force Bootstrap Primary Color Overrides */
.btn-primary,
.bg-primary,
.badge.bg-primary,
.alert-primary,
.text-bg-primary {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: white !important;
}

.text-primary {
    color: var(--accent) !important;
}

.border-primary {
    border-color: var(--accent) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #00a884 !important;
    border-color: #00a884 !important;
}

@media screen and (min-width:992px) {

    .sidebar,
    .mobile-toggler {
        display: none;
    }
}

.top-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    height: 65px;
    width: 100%;
    position: sticky;
    top: 0px;
    left: 0px;
    background-color: white;
    z-index: 1100;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);


}

.top-wrapper~.gap {
    height: 10px;

}


.top-wrapper .section-first {
    display: flex;
    gap: 12px;
    ;
}

.sidebar {
    width: 250px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: fixed;
    height: 100%;
    transition: all 0.3s ease;
}

.sidebar .brand {
    font-size: 1.2rem;
    font-family: "Nunito Sans", sans-serif;
    font-weight: bold;
    padding: 10px 0px;
    text-align: center;
    background-color: var(--primary);
    color: white;
    text-align: center;
    letter-spacing: 1px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.sidebar ul li {
    border-left: 4px solid transparent;
}

.sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sidebar ul li a i {
    margin-right: 15px;
    min-width: 20px;
}

/* .sidebar ul li a:hover {
    background-color: var(--primary);
    color: #fff !important;
} */

.sidebar ul li.active {
    border-left: 4px solid var(--accent);
    background-color: rgba(0, 196, 154, 0.1);
}

.sidebar ul li.active a {
    color: var(--accent);
}

.main {
    margin-left: 250px;
    padding: 30px;
    flex: 1;
}

.cards-fence .top-hint h2 {
    color: var(--accent);
    text-decoration: underline;
}

.cards-wrapper {
    width: 100%;
    gap: 20px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.scrolling-wrapper {
    overflow: hidden;
}

.scroll-utility {
    display: none;
}

#addCaseModal .modal-content {
    max-height: 85vh;
    overflow-y: auto;
}

.reps-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.reps-link {
    DISPLAY: flex;
    width: 300px;
    justify-content: center;
    color: white;
    text-transform: capitalize;
    align-items: center;
    aspect-ratio: 2.5;
}

/* Responsive */
@media (max-width: 991px) {
    .section-first {
        flex: 1 1 max-content;
    }

    .section-first button {
        display: block;
    }

    .toggle-btn {
        border-radius: 0px !important;
        box-shadow: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px !important;
    }

    .sidebar-close-btn {
        justify-content: flex-end;
        width: 100%;
        padding-bottom: 12px;
        position: sticky;
        top: 10px;
        padding: 0px 15px 25px 0px;

    }

    .prev-arrow,
    .next-arrow {
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #0001;
        color: black;
        font-weight: bold;
        border-radius: 50%;
    }

    .scroll-meter-wrapper {
        flex: 1 1 100%;
    }

    .scroll-utility {
        display: none;
    }

    .scroll-meter-background {
        background-color: #0001;
        width: 100%;
        border-radius: 30px;
        height: 6px;
        padding: 0px;

    }

    .scroll-meter-foreground {
        border-radius: 30px;
        height: 6px;
        background-color: var(--accent);
    }



    .logout-btn .btn.btn-danger.actual-logout.hidden {
        display: none;
    }

    .top-wrapper nav {
        display: none;
    }

    .cards-wrapper {
        display: flex;
        width: max-content;

    }

    .sidebar {
        width: 200px;
        transform: translateX(-100%);
        position: fixed;
        z-index: 11100;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main {
        margin-left: 0;
        padding: 20px;
    }

    .toggle-btn {
        position: fixed;
        top: 15px;
        left: 15px;
        font-size: 1.5rem;
        color: var(--primary);
        background: white;
        border: none;
        padding: 10px;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1100;
        cursor: pointer;
    }
}

.modal {
    z-index: 999999999;
}

.modal-backdrop {
    z-index: 99999999;
}

#uploadDialog {
    z-index: 999999999;
}

.progress {
    width: 450px;
    max-width: 100%;

}

.progress-bar {
    animation: loader 0.8s infinite;
}

#uploadDialog {
    width: 100%
}

#uploadDialog .modal-content {
    padding: 20px;
    background-color: white;
    box-sizing: border-box;
}

#uploadDialog .modal-content .btn-close {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    text-align: right;
    font-size: large;
    color: #D1345B;
}



@keyframes loader {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(450px);
    }

}

@media (max-width: 1199px) {
    .cards-wrapper {
        display: flex;
        width: max-content;

    }

    .prev-arrow,
    .next-arrow {
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #0001;
        color: black;
        font-weight: bold;
        border-radius: 50%;
    }

    .scroll-meter-wrapper {
        flex: 1 1 100%;
    }

    .scroll-utility {
        display: none;
    }

    .scroll-meter-background {
        background-color: #0001;
        width: 100%;
        border-radius: 30px;
        height: 6px;
        padding: 0px;

    }

    .scroll-meter-foreground {
        border-radius: 30px;
        height: 6px;
        background-color: var(--accent);
    }

}

.custom-form {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 0.5rem;
}

.custom-form .form-label {
    color: var(--text-light);
}

.custom-form .form-control,
.custom-form .form-select {
    background-color: #2e2e40;
    color: var(--text-light);
    border: 1px solid #444;
}

.custom-form .form-check-label {
    color: var(--text-light);
}

.custom-form .btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.custom-form .btn-primary:hover {
    background-color: #00a884;
    border-color: #00a884;
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    /* margin: 10px 0; */
    /* padding: 0PX 20PX; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#addCaseModalBody form input {
    /* max-width: 300px; */
}

#addCaseModalBody {
    padding: 10px 20px;
}

#addCaseModalBody form label {
    font-size: 14px;
    font-weight: 500;
    color: #000a;
}

.file-upload-label {

    border: 2px dotted #ddd;
    cursor: pointer;
    width: 600px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
    aspect-ratio: 4;

}

.delete-arena {
    position: absolute;
    top: -15px;
    right: -15px;

    color: #0009;
    width: 30px;
    font-size: 12px;
    height: 30px;
    /* padding: 8px; */
    background: #0001;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

button#addACase {
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    background-color: #D1345B;
    border-color: #D1345B;
    color: white;
    border-radius: 20px;

}

.top-wrapper .logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;

}

.top-wrapper .logout-btn .actual-logout {
    border-radius: 0px !important;
    width: 100%;
}

.collapse-wrapper .rounded-icon {
    background-color: #0001 !important;
    color: black;
}

.collapse-wrapper {
    display: flex;
    height: 100%;
}



.top-wrapper .collapse-wrapper .collapsible {
    right: 10px;
    width: 150px;
    top: 50px;

}

.top-wrapper .collapse-wrapper .collapse {
    z-index: 99999999;
    background-color: white;
    min-height: 100px;
    box-shadow: 0px 2px 10px 0px rgb(225, 225, 225);
}

.case-dialog.modal-content {
    max-height: 95vh;
    overflow: auto;
    border-bottom-left-radius: 10px;

}

.chat-interface {
    box-shadow: 2px 2px 10px 0px rgb(225, 225, 225);
    border: 1px solid #efeff0;
    border-radius: 30px;
    background-color: #fff;
    gap: 8px;
    padding: 12px 30px;
    --bs-primary-rgb: 0, 196, 154;
    --bs-secondary-rgb: 209, 52, 91;
}

.chat-interface .chat-top {
    flex-wrap: wrap;
    gap: 10px;
}

.chat-interface textarea:focus {
    border-color: transparent;
    outline: none;
}

.chat-interface textarea {
    min-height: 35px;
    height: auto;
    overflow-y: auto;
    width: 100%;
    border-color: transparent;
    max-height: 129px;
}

.chat-interface .chat-bottom .others {
    display: flex;
    gap: 12px;

}

.chat-interface .attachment,
.chat-interface .send {
    cursor: pointer;
}

.loader-background {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;

}

.loader-foreground {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid red;
}

@keyframes turn {
    0% {
        stroke-dashoffset: 189
    }

    to {
        stroke-dashoffset: 0
    }
}

.case-submit-button-regular {
    background-color: #00C49A;
    color: white;

    border-radius: 3px;
    padding: 4px 12px;
    border: 0px;
    outline: none;
    cursor: pointer;
}

.bg-primary.bg-opacity-10 {
    color: black !important;
    --bs-bg-opacity: 0.01 !important;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}