@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

:root {
    --primary-color: #053d76;
    --secondary-color: #f0f6ff;
    --text-color: #808080;
    --heading-color: #30343c;
    --button-color: #053d76;
    --button-hover-color: #0c58a4;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 0px;
}

h2 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    margin-bottom: 0px;
}

p {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 0px;
}

@media (max-width: 1023px) {
    h1 {
        font-size: 20px;
        line-height: 28px;
    }
    h2 {
        font-size: 16px;
        line-height: 24px;
    }
    p {
        font-size: 12px;
        line-height: 20px;
    }
}
@media (max-width: 639px) {
    h1 {
        font-size: 18px;
        line-height: 26px;
    }
    h2 {
        font-size: 14px;
        line-height: 22px;
    }
    p {
        font-size: 10px;
        line-height: 18px;
    }
}

.content-body {
    margin-left: 300px;
    padding: 24px 0px;
}
@media (max-width: 1023px) {
    .content-body {
        margin-left: 0px;
    }
}
@media (max-width: 639px) {
    .content-body {
        margin-left: 0px;
    }
}

.container-fluid {
    max-width: 1620px;
    padding: 0px 24px;
}
@media (max-width: 1023px) {
    .container-fluid {
        padding: 0px 18px;
    }
}
@media (max-width: 640px) {
    .container-fluid {
        padding: 0px 14px;
    }
}

/* =========================
   Text Start
========================= */
.text-esm {
    font-size: 12px;
    line-height: 20px;
}
.text-sm {
    font-size: 14px;
    line-height: 22px;
}
.text-md {
    font-size: 16px;
    line-height: 24px;
}
.text-lg {
    font-size: 18px;
    line-height: 26px;
}
.text-xl {
    font-size: 22px;
    line-height: 30px;
}

@media (max-width: 1023px) {
    .text-xl {
        font-size: 20px;
        line-height: 28px;
    }
    .text-lg {
        font-size: 16px;
        line-height: 24px;
    }
    .text-md {
        font-size: 14px;
        line-height: 22px;
    }
    .text-sm {
        font-size: 12px;
        line-height: 20px;
    }
}
@media (max-width: 639px) {
    .text-xl {
        font-size: 18px;
        line-height: 26px;
    }
    .text-lg {
        font-size: 16px;
        line-height: 24px;
    }
    .text-md {
        font-size: 14px;
        line-height: 22px;
    }
    .text-sm {
        font-size: 12px;
        line-height: 20px;
    }
}

.text-primary {
    color: var(--primary-color) !important;
}
.text-secondary {
    color: var(--text-color) !important;
}
.text-warning {
    color: #ea9446 !important;
}
.text-danger {
    color: #e32e2e !important;
}
.text-success {
    color: #09d12f !important;
}
/* =========================
   Text End
========================= */

/* =========================
   Background Start
========================= */
.bg-primary {
    background-color: var(--primary-color) !important;
}
.bg-secondary {
    background-color: var(--secondary-color) !important;
}
.bg-warning {
    background-color: #fff8f2 !important;
}
.bg-danger {
    background-color: #fff2f2 !important;
}
.bg-success {
    background-color: #f3fff5 !important;
}
.bg-gray {
    background-color: #f6f6f6 !important;
}
.bg-light-gray {
    background-color: #fafafa !important;
}
.bg-header {
    background-color: #eff6fd !important;
}
/* =========================
   Background End
========================= */

/* =========================
   Border Start
========================= */
.border-primary {
    border-color: var(--primary-color) !important;
}
.border-secondary {
    border-color: var(--secondary-color) !important;
}
.border-warning {
    border-color: #ea9446 !important;
}
.border-danger {
    border-color: #e32e2e !important;
}
.border-success {
    border-color: #09d12f !important;
}
/* =========================
   Border End
========================= */

/* =========================
   Buttons Start
========================= */
.primary-btn {
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.primary-btn:hover {
    color: #fff;
    background-color: var(--button-hover-color);
    border: 1px solid var(--button-hover-color);
}

.secondary-btn {
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.secondary-btn:hover {
    color: #fff;
    background-color: var(--button-hover-color);
    border: 1px solid var(--button-hover-color);
}

.white-btn {
    color: var(--primary-color);
    background-color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.white-btn:hover {
    background-color: #f0f0f0;
}

.orange-btn {
    color: #fff;
    background-color: #ea9446;
    border: 1px solid #ea9446;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.orange-btn:hover {
    color: #fff;
    background-color: #ffa551;
    border: 1px solid #ffa551;
}

.red-btn {
    color: #fff;
    background-color: #e32e2e;
    border: 1px solid #e32e2e;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.red-btn:hover {
    color: #fff;
    background-color: #ea4a4a;
    border: 1px solid #ea4a4a;
}

.secondary-btn-orange {
    color: #ea9446;
    background-color: transparent;
    border: 1px solid #ea9446;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.secondary-btn-orange:hover {
    color: #fff;
    background-color: #ea9446;
    border: 1px solid #ea9446;
}

.secondary-btn-red {
    color: #e32e2e;
    background-color: transparent;
    border: 1px solid #e32e2e;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.secondary-btn-red:hover {
    color: #fff;
    background-color: #e32e2e;
    border: 1px solid #e32e2e;
}

.secondary-btn-orange {
    color: #ea9446;
    background-color: transparent;
    border: 1px solid #ea9446;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.secondary-btn-orange:hover {
    color: #fff;
    background-color: #ea9446;
    border: 1px solid #ea9446;
}

.primary-icon-btn {
    border-radius: 10px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    line-height: 0px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.primary-icon-btn:hover {
    opacity: 0.8;
}

.view-btn {
    color: #053d76;
    background-color: #77b4f3;
}
.edit-btn {
    color: #ff9100;
    background-color: #fbd9ac;
}
.approve-btn {
    color: #38af26;
    background-color: #e7f6e6;
}
.delete-btn {
    color: #fff;
    background-color: var(--button-hover-color);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 22px;
}

@media (max-width: 1023px) {
    .primary-btn {
        font-size: 14px;
        line-height: 22px;
        padding: 8px 18px;
    }
    .secondary-btn {
        font-size: 14px;
        line-height: 22px;
        padding: 8px 18px;
    }
    .orange-btn {
        font-size: 14px;
        line-height: 22px;
        padding: 8px 18px;
    }
    .red-btn {
        font-size: 14px;
        line-height: 22px;
        padding: 8px 18px;
    }
    .secondary-btn-orange {
        font-size: 14px;
        line-height: 22px;
        padding: 8px 18px;
    }
    .secondary-btn-red {
        font-size: 14px;
        line-height: 22px;
        padding: 8px 18px;
    }
    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
        line-height: 20px;
    }
}
@media (max-width: 639px) {
}

/* =========================
   Buttons End
========================= */

/* =========================
   Sidebar Start
========================= */
/* Sidebar Wrapper */
.sidebar {
    width: 300px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--primary-color);
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 1030;
}

/* Scroll Container */
.sidebar-scroll {
    height: 100%;
    padding: 20px 36px;
    overflow-y: auto;
}

@media (max-width: 1023px) {
    .sidebar-scroll {
        padding: 20px 20px;
    }
}
@media (max-width: 639px) {
    .sidebar-scroll {
        padding: 20px 20px;
    }
}

/* Logo */
.sidebar img {
    width: 200px;
    margin: 10px auto 40px;
    display: block;
}

/* Menu Reset */
.sidebar ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Menu Item */
.sidebar .sidebar-menu li {
    margin-bottom: 6px;
}

/* Menu Link */
.sidebar .sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
@media (max-width: 1023px) {
    .sidebar .sidebar-menu li a {
        font-size: 14px;
    }
}
@media (max-width: 639px) {
    .sidebar .sidebar-menu li a {
        font-size: 14px;
    }
}

/* Icon Box */
.sidebar .menu-icon {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 0px;
    color: #fff;
}
@media (max-width: 1023px) {
    .sidebar .menu-icon {
        font-size: 16px;
    }
}
@media (max-width: 639px) {
    .sidebar .menu-icon {
        font-size: 16px;
    }
}

/* Hover State */
.sidebar .sidebar-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Active State */
.sidebar .sidebar-menu li.active a {
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.sidebar .sidebar-menu li.active .menu-icon {
    color: #fff;
}

/* Space between bottom buttons */
.sidebar .sidebar-menu:last-child li {
    margin-top: 10px;
}

/* Scrollbar */
.sidebar-scroll::-webkit-scrollbar {
    width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Submenu wrapper */
.sidebar .has-submenu {
    position: relative;
}

/* Align arrow */
.sidebar .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Arrow */
.sidebar .submenu-arrow {
    font-size: 16px;
    line-height: 0px;
    transition: transform 0.3s ease;
}

/* Submenu hidden */
.sidebar .submenu {
    list-style: none;
    padding-left: 35px;
    display: none;
}

/* Submenu links */
.sidebar .submenu li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: 6px;
}

.sidebar .submenu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Active State */
.sidebar .submenu li.active a {
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Active submenu */
.sidebar .has-submenu.open .submenu {
    display: block;
}

/* Rotate arrow */
.sidebar .has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

/* Menu button style */
.mobile-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 0px 10px 10px 0px;
    color: #fff;
    background: #053d76;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: absolute;
    top: 22px;
    right: -40px;
}

/* Tablet & Mobile */
@media (max-width: 1023px) {
    /* Sidebar width collapse */
    .sidebar {
        width: 225px;
    }

    /* Reduce padding */
    /* .sidebar-scroll {
        padding: 20px 10px;
    } */

    /* Hide menu text */
    /* .sidebar .nav-text {
        display: none;
    } */

    /* Center icons */
    .sidebar .sidebar-menu li a {
        /* justify-content: center; */
        padding: 10px;
    }

    /* Logo: icon-only */
    .sidebar img {
        width: 150px;
        margin: 10px 0px 30px;
    }
}

/* Sidebar hidden on mobile by default */
@media (max-width: 1023px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }
    .mobile-menu-btn {
        display: flex;
    }
}

/* =========================
   Sidebar End
========================= */

/* =========================
   Top Header Start
========================= */
/* Header Wrapper */
.header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #f0f7ff;
    margin-left: 300px;
}

/* Header Content */
.header-content {
    padding: 0px 24px;
}
@media (max-width: 1023px) {
    .header-content {
        padding: 0px 24px;
    }
}

/* Brand Area */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0f172a;
}

.brand-logo .menu-icon {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 0px;
    color: var(--primary-color);
    transition: background 0.3s ease;
}

.brand-logo .nav-text {
    color: var(--primary-color);
    margin: 0;
}

/* Right Icons */
.header-right {
    display: flex;
    align-items: center;
}

/* Notification Icon */
.notification_dropdown .nav-link {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    transition: all 0.3s ease;
}

.notification_dropdown .nav-link:hover {
    background: #e0f2fe;
}

.notification_dropdown i {
    font-size: 20px;
    line-height: 0px;
}

/* Notification Dropdown */
.notification_dropdown .dropdown-menu {
    width: 340px;
    border-radius: 14px;
    overflow: hidden;
}

/* Notification Item */
.bg-action-light {
    background: #f8fafc;
    transition: background 0.25s ease;
}

.bg-action-light:hover {
    background: #e0f2fe;
}

/* Profile Section */
.profile-head {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 6px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.profile-head:hover {
    background: #e0f2fe;
}

.profile-text h6 {
    margin: 0;
    font-size: 16px;
    line-height: 14px;
}

.profile-text span {
    font-size: 12px;
    line-height: 0px;
}

/* Avatar */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    overflow: hidden;
    object-fit: cover;
    border: 2px solid #e3e3e3;
}

@media (max-width: 1023px) {
    .header {
        margin-left: 0px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .profile-text {
        display: none;
    }
}
@media (max-width: 639px) {
    .header {
        margin-left: 0px;
    }
}
/* =========================
   Top Header End
========================= */

/* =========================
   Card Start
========================= */
.card {
    margin-bottom: 24px;
    border-radius: 15px;
    border: 1px solid #e3e3e3;
    overflow: hidden;
    /* padding: 20px; */
}

.card-header {
    padding: 12px 24px;
    border: none;
    background: #2f6195;
    align-items: center;
}
.card-body {
    padding: 24px;
}
.card-header h1 {
    color: #fff;
}

@media (max-width: 1023px) {
    .card-header {
        padding: 12px 18px;
    }
    .card-body {
        padding: 18px;
    }
}

@media (max-width: 639px) {
    .card {
        padding: 0px;
    }
    .card-header {
        padding: 12px 14px;
    }
    .card-body {
        padding: 18px 14px;
    }
}
/* =========================
   Card End
========================= */

/* =========================
   Inputs Start
========================= */
.form-label {
    color: var(--text-color);
    font-size: 14px;
}
.form-control {
    font-size: 16px;
    color: #303030;
    /* background-color: #fafdff; */
    border-radius: 10px;
    border: 1px solid #d7d7d7;
    transition: border 0.3s ease;
    padding: 0.663rem 1.25rem;
}
.form-control:focus {
    border: 1px solid var(--primary-color);
    box-shadow: none;
}
.form-control:focus-visible {
    border: 1px solid var(--primary-color);
    box-shadow: none;
    outline: none;
}
.form-check-input {
    border-radius: 10px;
    border: 1px solid #d7d7d7;
    transition: border 0.3s ease;
}
.form-check-input:focus {
    border: 1px solid var(--primary-color);
    box-shadow: none;
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.form-check-label {
    color: var(--text-color);
}
.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23353B4B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    display: block;
    width: 100%;
    padding: 0.663rem 3.75rem 0.663rem 1.25rem;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.572;
    color: #303030;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* background-color: #fafdff; */
    background-image:
        var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 16px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    transition: border 0.3s ease;
}
.form-select:focus {
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

@media (max-width: 1023px) {
    .form-control,
    .form-select {
        font-size: 14px;
        padding: 0.563rem 1rem;
    }
    .form-label {
        font-size: 12px;
    }
}
/* =========================
   Inputs End
========================= */

/* =========================
   Auth Start
========================= */
.auth-wrapper {
    min-height: 100vh;
    overflow: hidden;
}
.auth-bg {
    background: #f0f8ff;
    overflow: hidden;
}
.auth-wrapper .auth-form {
    padding: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.auth-form img {
    width: 250px;
    height: auto;
}
.auth-heading .auth-title {
    color: var(--heading-color);
    font-size: 40px;
    line-height: 48px;
}
.auth-heading .auth-subtitle {
    color: var(--text-color);
    font-size: 18px;
    line-height: 24px;
}
.auth-form .forgot-link {
    color: var(--primary-color);
    font-size: 14px;
    line-height: 24px;
}
.input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 0px;
    color: #64748b;
    pointer-events: none;
}
.ic-password {
    padding-right: 45px;
}
.toggle-password {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    line-height: 0px;
    color: #64748b;
}
.toggle-password:hover {
    color: #303030;
}

.form-control-otp {
    font-size: 24px;
    color: var(--text-color);
    background-color: #fafdff;
    border-radius: 10px;
    border: 1px solid #d7d7d7;
    transition: border 0.3s ease;
    padding: 0.663rem 1.25rem;
    width: 60px;
    height: 60px;
    text-align: center;
}
.form-control-otp:focus {
    border: 1px solid var(--primary-color);
    box-shadow: none;
}
.form-control-otp:focus {
    border: 1px solid var(--primary-color);
    box-shadow: none;
    outline: none;
}

@media (max-width: 1023px) {
    .auth-wrapper .auth-form {
        padding: 24px;
    }
    .auth-form img {
        width: 200px;
        height: auto;
    }
    .auth-heading span {
        font-size: 24px;
        line-height: 32px;
    }
    .auth-heading .auth-title {
        font-size: 24px;
        line-height: 32px;
    }
    .auth-heading .auth-subtitle {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 576px) {
    .form-control-otp {
        font-size: 16px;
        width: 45px;
        height: 45px;
        padding: 0.463rem 0.25rem;
    }
}
/* =========================
   Auth End
========================= */

.profile-picture {
    background-color: var(--primary-color);
}

/* =========================
   Table Start
========================= */
.table {
    --bs-table-color-type: initial;
    --bs-table-bg-type: initial;
    --bs-table-color-state: initial;
    --bs-table-bg-state: initial;
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: var(--bs-body-bg);
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: rgba(var(--bs-light-rgb), 0.5);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.03);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.03);
    width: 100%;
    margin-bottom: 1rem;
    vertical-align: middle;
    border-color: var(--bs-table-border-color);
}
.table-light {
    --bs-table-color: #000;
    --bs-table-bg: #f2f2f2;
    --bs-table-border-color: rgb(234.74, 234.74, 234.74);
    --bs-table-striped-bg: rgb(234.74, 234.74, 234.74);
    --bs-table-striped-color: #000;
    --bs-table-active-bg: rgb(234.74, 234.74, 234.74);
    --bs-table-active-color: #000;
    --bs-table-hover-bg: rgb(234.74, 234.74, 234.74);
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}
table.dataTable tr td,
table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    padding: 12px 10px;
}

table.dataTable tbody tr {
    background-color: transparent;
}

table.dataTable,
table.dataTable th,
table.dataTable td {
    box-sizing: content-box;
}

.table > :not(caption) > * > * {
    padding: 10px 10px;
    color: var(
        --bs-table-color-state,
        var(--bs-table-color-type, var(--bs-table-color))
    );
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px
        var(
            --bs-table-bg-state,
            var(--bs-table-bg-type, var(--bs-table-accent-bg))
        );
}

.card-body.table-card-body table thead td:first-child,
.card-body.table-card-body table thead th:first-child,
.card-body.table-card-body table tbody td:first-child,
.card-body.table-card-body table tbody th:first-child {
    padding-left: 1.5rem;
}

.card-body.table-card-body table thead td:last-child,
.card-body.table-card-body table thead th:last-child,
.card-body.table-card-body table tbody td:last-child,
.card-body.table-card-body table tbody th:last-child {
    padding-right: 1.5rem;
}

.table th {
    text-align: left;
    font-weight: 600;
    color: #303030;
}

.table > :not(caption) > * > * {
  background-color: #f6f6f6 !important;
}

/* Sortable headers */
th.sortable {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.sort-btn {
    background: transparent;
    border: none;
    margin-left: 6px;
    color: #8f8f8f;
    font-size: 10px;
    padding: 0;
}

th.sortable.active .sort-btn {
    color: #8f8f8f;
}
table .fix-width {
    min-width: 150px;
}

th {
    font-size: 16px;
}
@media (max-width: 1023px) {
    th {
        font-size: 14px;
    }
}
/* =========================
   Table End
========================= */

/* =========================
   Toggle Switch start
========================= */
.toggle-switch {
    position: relative;
    width: 40px;
    height: 24px;
}
.toggle-switch .toggle-input {
    display: none;
}
.toggle-switch .toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 20px;
    background-color: #e9e9eb;
    border-radius: 34px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.toggle-switch .toggle-label::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    background-color: #fff;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.toggle-switch .toggle-input:checked + .toggle-label {
    background-color: var(--primary-color);
}

.toggle-switch .toggle-input:checked + .toggle-label::before {
    transform: translateX(16px);
}

.toggle-switch.light .toggle-label {
    background-color: #bebebe;
}
.toggle-switch.light .toggle-input:checked + .toggle-label {
    background-color: #9b9b9b;
}
.toggle-switch.light .toggle-input:checked + .toggle-label::before {
    transform: translateX(6px);
}

.toggle-switch.dark .toggle-label {
    background-color: #4b4b4b;
}
.toggle-switch.dark .toggle-input:checked + .toggle-label {
    background-color: #717171;
}
.toggle-switch.dark .toggle-input:checked + .toggle-label::before {
    transform: translateX(16px);
}
/* =========================
   Toggle Switch end
========================= */

/* =========================
   Intern Evaluation Start
========================= */
.evaluation-tab-btn {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.evaluation-tab-btn .btn-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 10px;
}

.evaluation-tab-btn .progress {
    width: 100%;
    height: 6px;
    background-color: #aad1fa;
}

.evaluation-tab-btn .progress-bar {
    border-radius: 10px;
}

.evaluation-tab-btn.nav-link.active {
    /* background-color: #c3dbf5; */
    /* border-color: #c3dbf5; */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

/* =========================
   Intern Evaluation End
========================= */

/* =========================
   Custom Select Start
========================= */

.custom-select {
    position: relative;
    font-family: inherit;
    width: 100%;
}

/* Hide native select */
.custom-select select {
    display: none;
}

/* Selected item (trigger) */
.select-selected {
    background-color: #ffffff;
    border: 1px solid #d0d7e2;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
    color: #333;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover & focus */
.select-selected:hover {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Arrow */
/* Arrow icon */
.select-selected .select-arrow {
    font-size: 16px;
    color: #555;
    transition: transform 0.3s ease;
    line-height: 0px;
}

/* Rotate when open */
.select-selected.select-arrow-active .select-arrow {
    transform: rotate(180deg);
}

/* Selected item (trigger) */
.select-selected .number {
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #d0d7e2;
    border-radius: 100px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrow open */
.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}

.select-selected .selected-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Dropdown panel */
.select-items {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 99;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #d0d0d0;
}

/* Hide dropdown */
.select-hide {
    display: none;
}

/* Option item */
.select-items div {
    display: flex;
    gap: 15px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    border-bottom: 1px solid #d0d0d0;
}

/* Hover option */
.select-items div:hover {
    background-color: #f9fbff;
}

.select-items div .number {
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d0d7e2;
    border-radius: 100px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Selected option */
.same-as-selected {
    background-color: #c3dbf5;
    color: #ffffff;
}

/* Scrollbar (nice touch) */
.select-items::-webkit-scrollbar {
    width: 6px;
}

.select-items::-webkit-scrollbar-thumb {
    background: #cfd8e3;
    border-radius: 10px;
}

/* Disabled select */
.select-disabled {
    background-color: #f9f9f9;
    border-color: #d0d0d0;
    color: #a0a0a0;
    cursor: not-allowed;
    pointer-events: none;
}

/* Disabled arrow */
.select-disabled .select-arrow {
    color: #a0a0a0;
}

/* =========================
   Custom Select End
========================= */

.answer .number {
    font-size: 14px;
    border-radius: 100px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-dropdown {
    min-width: 180px;
    border-radius: 12px;
    padding: 8px 0;
}

.profile-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 14px 16px;
}

.profile-dropdown .dropdown-item i {
    font-size: 16px;
}

.profile-dropdown .dropdown-item:hover {
    background-color: #f5f8ff;
}

.chart-container {
    position: relative;
    /* width: 100%; */
    max-width: 170px;
}

@media (max-width: 1279px) {
    .chart-container {
        max-width: 120px;
    }
}
@media (max-width: 1023px) {
    .chart-container {
        max-width: 150px;
    }
}
@media (max-width: 639px) {
    .chart-container {
        position: relative;
        max-width: 120px;
    }
}

.chart-text {
    font-size: 40px;
}

@media (max-width: 1023px) {
    .chart-text {
        font-size: 35px;
    }
}
@media (max-width: 639px) {
    .chart-text {
        font-size: 30px;
    }
}

.form-textarea {
    transition: all 0.3s ease;
}

.truncate-tooltip {
    cursor: pointer;
}

.answer-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 8px;
    margin: 0 6px;
    border: 1px solid #0d6efd;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    color: #0d6efd;
    background-color: #f5f9ff;
}

.option-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    /* margin-right: 6px; */
    border: 2px solid #333;
    border-radius: 100px;
    font-weight: 600;
    font-size: 12px;
    color: #333;
}

.card-accepted {
    background-color: #fff !important;
    border: 1px solid #e3e3e3 !important;
    transition: 0.3s ease;
}

.card-saved {
    background-color: #fff !important;
    border: 1px solid #e3e3e3 !important;
    transition: 0.3s ease;
}

/* Full width */
.select2-container {
    width: 100% !important;
}

/* Main selection box */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid #ced4da !important;
    border-radius: 10px !important;
    padding: 6px 20px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 16px !important;
    transition: all 0.2s ease-in-out !important;
}

/* Text alignment */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0 !important;
    color: #495057 !important;
}

/* Dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
}

/* Focus effect */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: none !important;
}

/* Dropdown panel */
.select2-dropdown {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    overflow: hidden !important;
}

/* Dropdown options */
.select2-results__option {
    padding: 10px 14px  !important;
    font-size: 14px !important;
}

/* Highlighted option */
.select2-results__option--highlighted {
    background-color: #f0f7ff !important;
    color: #000 !important;
}

/* Search field inside dropdown */
.select2-search__field {
    border-radius: 6px !important;
    padding: 6px 10px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
        border: 1px solid var(--primary-color);
        outline: none;
        box-shadow: none;
}