html,
body {
    font-family: 'Roboto', sans-serif;
    height: 100%;
    margin: 0;
}

/* font classes */
.form-control:focus,
.form-select:focus,
textarea {
    box-shadow: none !important;
    outline: none !important;
}

.form-control:focus,
.form-select:focus,
textarea {
    border-color: #ced4da !important;
}

/* letter spacing classes */
.ltr-1 {
    letter-spacing: -0.08rem;
}

.heading-custom-color {
    color: #1e293b !important;
}

.helper-text {
    color: #475569 !important;
}

.main-content {
    /* background-color: #edf1f5 !important; */
    background: #fff;
    padding: 63px 0 40px;
    min-height: 100vh;
}

/* navbar classes */
.navbar-custom {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 20, .08), 0 1px 2px rgba(0, 0, 20, .08);
    z-index: 1000;
}

.nav-link-custom {
    color: #475569 !important;
}

.nav-custom-btn:hover {
    /* background-color: #cbd5e1; */
    border-color: #cbd5e1;
    /* color: #475569; */
    text-decoration: none;
    border-radius: 0.5rem;
}

.nav-eotq-link {
    color: #484c50 !important;
    padding: 0.5rem 1rem !important;
    text-decoration: none !important;
    display: flex;
}

.nav-eotq-link:hover {
    color: #ffffff !important;
}

.nav-eotq-btn {
    background-color: #ffc46b;
    border-radius: 0.5rem;
}

.nav-eotq-btn:hover {
    background-color: #ff9900 !important;
    border-color: #ff9900;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
}

/* .nav-eotq-btn:active {
    background-color: #ff9900 !important;
    color: #484c50 !important;
} */

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

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bg-orange {
    background-color: #ff8b2c;
}

.bg-green {
    background-color: #00d26a;
}

.bg-yellow {
    background-color: #fcd53f;
}

.bg-blue {
    background-color: #0074ba;
}

.bg-gray {
    background-color: #6c757d;
}

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

.bg-teal {
    background-color: #1a7e60;
}

.bg-deep-red {
    background-color: #dc3545;
}

.border-top-3 {
    border-top-width: 5px !important;
}

.border-top-orange {
    border: 1px solid #ff8b2c !important;
    border-top: 5px solid #ff8b2c !important;
}

.border-top-green {
    border: 1px solid #00d26a !important;
    border-top: 5px solid #00d26a !important;
}

.border-top-yellow {
    border: 1px solid #fcd53f !important;
    border-top: 5px solid #fcd53f !important;
}

.border-top-blue {
    border: 1px solid #0074ba !important;
    border-top: 5px solid #0074ba !important;
}

.border-top-gray {
    border: 1px solid #6c757d !important;
    border-top: 5px solid #6c757d !important;
}

.border-top-teal {
    border: 1px solid #1a7e60 !important;
    border-top: 5px solid #1a7e60 !important;
}

.border-top-deep-red {
    border: 1px solid #dc3545 !important;
    border-top: 5px solid #dc3545 !important;
}

/* button classes */
.btn-primary {
    color: #fff;
    background-color: #1b4965;
    border-color: #1b4965;
}

.btn-primary:hover {
    color: #fff;
    background-color: #307fb0;
    border-color: #307fb0;
}

.dropdown-menu-xs {
    min-width: 6rem !important;
    border-radius: 0.5rem;
}

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

.dimmed {
    opacity: 0.3;
    filter: grayscale(100%);
}

.disabled-task {
    pointer-events: none;
    cursor: not-allowed;
}

/* .task-card-container {
    width: 19%; */
/* 100% / 5 = 20%, but with spacing, 19% works better */
/* margin: 0.5%; */
/* Adjust spacing between cards */
/* height: 250px;
    display: flex;
    align-items: stretch;
} */


.status-text {
    font-size: 12px;
}

.task-card-body {
    height: 12rem;
    overflow: auto;
}

.task-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.2em * 3);
    /* adjusts to your line-height */
    line-height: 1.2em;
    /* tweak if needed */
}


.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
}

.nav-link {
    transition: background-color 0.3s ease-in-out;
    color: black;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(169, 225, 255, 0.5);
    color: black;
}

.f-10 {
    font-size: 1.0rem;
}

.f-9 {
    font-size: 0.9rem;
}

.f-8 {
    font-size: 0.8rem;
}

.f-7 {
    font-size: 0.7rem;
}

.mb-6 {
    margin-bottom: 2rem !important;
}

.filter-element {
    height: 32.5px !important;
}

.filter-date-radius {
    border-radius: 0.25rem !important;
}

.scrollbar-none {
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: transparent transparent;
    /* For Firefox */
}

.scrollbar-none::-webkit-scrollbar {
    display: none;
}

.scrollbar-none::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.project-card {
    height: 180px;
    border-left: 4px solid #0d6efd;
    padding: 1.0rem;
    transition: all 0.3s ease-in-out;
}

.project-card p.card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 22px;
}

.project-card-body {
    overflow-y: auto;
    /* Allows vertical scrolling */
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: transparent transparent;
    /* For Firefox */
}

/* For Webkit browsers (Chrome, Safari, etc.) */
.project-card-body::-webkit-scrollbar {
    display: none;
    /* Hide the scrollbar */
}

.project-card-body::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.gradient-0 {
    background: linear-gradient(135deg, #fefcea, #ead2c3);
}

.gradient-1 {
    background: linear-gradient(135deg, #ecfdff, #c0d5e9);
}

.gradient-2 {
    background: linear-gradient(135deg, #f3fff4, #a5cec4);
}

.gradient-3 {
    background: linear-gradient(135deg, #fff4f2, #e3c2c2);
}

.text-custom-color-1 {
    color: #307fb0;
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Add Image Button */
.add-image-btn {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Thumbnails Scroll Container */
.thumbnails-container {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    padding-left: 10px;
}

/* Hide Scrollbar */
.thumbnails-container::-webkit-scrollbar {
    display: none;
}

/* Thumbnail Images */
.img-thumbnail {
    width: 100px;
    height: 80px;
    object-fit: cover;
    margin-right: 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

.comment-container {
    max-height: 500px;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.comment-list {
    flex-grow: 1;
    overflow-y: scroll;
    padding-right: 10px;
    /* Prevents text from cutting off */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.comment-list::-webkit-scrollbar {
    display: none;
}

.comment-form {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    background: #f8f9fa;
    position: sticky;
    bottom: 0;
}

.eotq-banner {
    margin-top: -16px;
    padding: 8px 0;
    margin-bottom: 5px;
    background-color: #ffa620;
    color: #ffffff;
    font-weight: bold;
}

.custom-banner {
    background: linear-gradient(90deg, #11998e, #e5e344);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    margin-top: -16px;
    font-weight: bold;
    color: #ffffff;
    padding: 8px 0;
}

#mom-card-body .card-text {
    font-size: 14px;
    line-height: 22px;
    height: 150px;
    overflow: auto;
}

.mom-card-content {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 150px;
}

/* #mom-list-container {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

#task-list-container {
    max-height: calc(100vh - 280px);
    overflow-y: auto;
} */

.task-card {
    position: relative;
    transition: all 0.3s ease-in-out;
}

#dsr-card-body .card-text {
    height: 190px;
    overflow: auto;
}

#dsr-list-container {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.dsr-card:hover {
    transform: translateY(-2px);
    transition: 0.2s ease-in-out;
}

#dsr-card-footer a .bi {
    display: inline-block;
    transition: transform 0.2s ease;
    position: relative;
    top: 1.2px;
}

#dsr-card-footer a:hover .bi {
    transform: translateX(4px);
}

.status-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 25px;
    z-index: 1;
    border-radius: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease-in-out;
}

.status-banner-horizontal {
    width: 100%;
    background-color: #dc3545;
    /* Default to revision-required */
    font-weight: bold;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: end;
    position: relative;
    border-radius: 5px 5px 0 0;
}

.verified-banner {
    background-color: #1a7e60;
}

.revision-banner {
    background-color: #dc3545;
}

.revision-banner .status-icon i {
    color: #dc3545;
}

.verified-banner .status-icon i {
    color: #1a7e60;
}

.status-icon {
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-size: 4px; */
    font-weight: bold;
    color: inherit;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 0px;
}

.status-icon i {
    font-size: 16px;
}

.status-icon-horizontal {
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    /* color: inherit; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.status-icon-horizontal i {
    font-size: 20px;
}

.revision-banner .status-icon-horizontal i {
    color: #dc3545 !important;
}

.verified-banner .status-icon i {
    color: #1a7e60;
}

.task-card.hovered .status-banner {
    opacity: 0;
}

/* form styles */
.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #637381;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #C4CDD5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control::placeholder {
    color: #637381;
    opacity: 1;
}

.custom-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.375rem;
}

.smooth-shadow-md {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 10px;
}

.login-image-card {
    background-color: #cae9ff;
    border-radius: 10px;
}

@media(min-width: 1200px) {

    .container {
        max-width: 1200px !important;
    }

    .cols-5 .col-xl {
        width: 20%;
        max-width: 20%;
        flex: auto;
    }
}

@media (max-width: 991.98px) {
    body .navbar-nav .dropdown-menu {
        position: absolute;
    }

    #task-list-container {
        max-height: calc(100vh - 180px);
    }

}


.avatar-list {
    margin: 0 0 -.5rem;
    padding: 0;
    font-size: 0;
}

.avatar-list .avatar {
    color: var(--secondary-color);
    font-weight: 600;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    display: inline-block;
    background: var(--primary-color) no-repeat center/cover;
    position: relative;
    vertical-align: bottom;
    font-size: .875rem;
    user-select: none;
    min-width: 2rem;
}

.avatar-list-stacked .avatar {
    margin-right: -.8em !important;
    box-shadow: 0 0 0 2px #fff;
}

.btn-group button.btn.btn-outline-secondary {
    line-height: 12px;
    padding: 5px 10px;
}

.ic-info {
    height: 14px;
}

.project-block {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    color: var(--text-color);
    font-size: 16px;
}

.project_name {
    position: absolute;
    left: 50%;
    top: 33px;
    transform: translateX(-50%);
}

.light-info-bg {
    background-color: #1dc2ef;
}

.card-text small {
    color: #1dc2ef !important;
    font-weight: 700;
    font-size: 16px;
}

.task-card-body .bi {
    color: #1dc2ef;
    font-size: 16px;
}

.card-header.bg-primary.text-white {
    background: #0d405b !important;
}

::-webkit-scrollbar {
    display: none;
}

.list-vote .list-group-item+.list-group-item {
    border-top-width: 1px !important;
}

.status-block {
    justify-content: center;
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
}

.status-text {
    font-size: 12px;
    font-weight: 500;
}

.text-theme {
    color: #1dc2ef !important;
}

.theme-text {
    color: rgb(27, 73, 101) !important;
}

.click-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 35px;
    border: 1px solid;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    transition: all 0.35s;
    box-sizing: border-box;
    padding: 0 14px;
}

.btn-style900 {
    position: relative;
    border-color: #1dc2ef;
    color: #1dc2ef;
    transition-delay: 0.3s;
    overflow: hidden;
}

.btn-style900:hover,
.btn-style900:focus {
    transform: translateY(-0.3em);
    border-color: #1dc2ef;
    color: rgba(221, 99, 149, 0);
    transition-delay: 0s;
}

.btn-style900:hover::before {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
}

.btn-style900::before {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    content: attr(data-hover);
    color: #1dc2ef;
    text-align: center;
    transform: translateX(-60%);
    transition: all 0.4s;
    z-index: 1;
}


.btn-style702 {
    background-color: transparent;
    border-color: transparent;
    position: relative;
    color: #fff;
}

.btn-style702::before,
.btn-style702::after {
    height: 100%;
    position: absolute;
    top: 0;
    transition: all 0.3s;
    content: "";
}

.btn-style702::before {
    width: 100%;
    left: 0;
    border-radius: 5px;
    background-color: #1b4965;
}

.btn-style702::after {
    width: 0;
    left: 50%;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    transform: translate(-50%, 0);
    z-index: 1;
}

.btn-style702:hover::before {
    background-color: rgb(27 73 101 / 72%);
}

/* .btn-style702:hover {
    color: #1b4965;
}

.btn-style702:hover::before {
    transform: scale(0, 1);
}

.btn-style702:hover::after {
    width: 100%;
    border-color: #1b4965;
    transition-delay: 0.2s;
} */

.click-btn * {
    z-index: 1;
}



.btn-style500 {
    border-color: #1dc2ef;
    color: #1dc2ef;
}

.btn-style500:hover {
    color: #fff;
    transition-delay: 0.2s;
    animation: ani500 0.6s forwards;
    background-color: #1dc2ef;
    /* background: radial-gradient(circle, #1dc2ef 0.2em, transparent 0.3em) 6em 6em/1em 1em, radial-gradient(circle, #1dc2ef 0.2em, transparent 0.3em) 0 0/1em 1em; */
}

@keyframes ani500 {
    100% {
        background-size: 2.375em 2.375em, 0.1em 0.1em;
    }
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.5);
}


button[disabled] {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .3;
}

.btn-outline-secondary {
    border-color: #ced4da !important;
    color: #ced4da !important;
}

.modal-header {
    background: rgb(27, 73, 101) !important;
    padding: 8px 16px;
    font-size: 16px;
    color: #fff;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.btn-close:focus {
    box-shadow: none !important;
}

.profile-page .card h5 {
    background: rgb(27, 73, 101) !important;
    margin: 0;
    padding: 10px 0;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.form-label {
    margin-bottom: 4px;
    font-size: 14px;
}

.profile-page .card.overflow-hidden {
    border-radius: 1.25rem;
}

/* .project-card-body img {
    width: 30px;
} */

body .btn-check:focus+.btn-outline-secondary,
body .btn-outline-secondary:focus {
    box-shadow: none !important;
}

.top-bar {
    top: 63px;
    z-index: 9;
}

.fliter-btn {
    font-size: 35px;
    top: 1px;
}



@media(max-width: 991.98px) {
    button.navbar-toggler {
        padding-right: 0;
        border: 0;
    }

    /* Offcanvas-style navbar collapse */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 250px;
        /* Adjust width as needed */
        background-color: #fff;
        transform: translateX(-100%);
        /* Hidden by default */
        transition: transform 0.3s ease-in-out;
        z-index: 10501;
        padding: 1rem;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    }

    /* Show the navbar-collapse when active */
    .navbar-collapse.show {
        transform: translateX(0);
        /* Slide in */
    }

    .menu-overlay {
        transition: opacity .3s, visibility .3s;
        background: #00000080;
        visibility: hidden;
        position: fixed;
        z-index: 1040;
        height: 100%;
        width: 100%;
        opacity: 0;
        left: 0;
        top: 0;
    }

    .navbar-collapse.show+.menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    /* Overlay when navbar is open */
    .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out;
        z-index: 1040;
    }

    .navbar-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* Adjust navbar toggler */
    .navbar-toggler {
        z-index: 1060;
    }

    /* Ensure navbar items are stacked vertically */
    .navbar-collapse.show .navbar-nav {
        height: calc(100vh - 70px);
        flex-direction: column;
        padding-bottom: 30px;
        overflow: auto;
    }

    .navbar-nav li.nav-item.nav-custom-btn.ms-2.ms-lg-0 {
        margin-left: 0 !important;
    }

    .nav-item.nav-eotq-btn {
        margin-top: 8px;
    }

    .navbar-nav .nav-eotq-btn .nav-eotq-link {
        font-size: 14px;
        padding: 8px !important;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 6px 10px !important;
    }



}


@media(max-width: 767.98px) {
    .fs-2 {
        font-size: 22px !important;
    }

    .navbar-nav .nav-link {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .h6,
    h6 {
        font-size: 14px !important;
    }

    .attendance-list thead th,
    .attendance-list tbody td {
        font-size: 12px;
    }

}