:root {
    --font-common: 'Nunito', sans-serif;
    --font-size-common: 15px;
    --font-size-common-1: 14px;
}
body {
    font-family: var(--font-common)!important;
    font-size: var(--font-size-common)!important;
}
.btn {
    letter-spacing: normal;
    font-size: var(--font-size-common);
}
.modal .btn-close {
    content: 'A';
}
.section {
    position: static;
}

table.t1 tr td {
    border-top: 1px solid #e3e3e3;
}

.card.card-statistic-1 .card-header h4, .card.card-statistic-2 .card-header h4 {
    letter-spacing: normal;
}
.w_40 {width: 40px!important;}
.w_50 {width: 50px!important;}
.w_100 {width: 100px!important;}
.w_150 {width: 150px!important;}
.w_200 {width: 200px!important;}
.w_300 {width: 300px!important;}
.w_400 {width: 400px!important;}
.w_450 {width: 450px!important;}
.w_100_p {width: 100%!important;}

.h_100 {height: 100px!important;}
.h_150 {height: 150px!important;}
.h_200 {height: 200px!important;}
.h_300 {height: 300px!important;}
.h_350 {height: 350px!important;}
.h_400 {height: 400px!important;}

.fz_20 {font-size: 20px!important;}
.fz_30 {font-size: 30px!important;}
.fz_40 {font-size: 40px!important;}
.fz_50 {font-size: 50px!important;}

.rounded-circle-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 4px;
}

.c1 {
    color: #6777ef;
}

.hide {
    display: none;
}

.obfc1 {
    object-fit: cover;
    height: 200px;
}
.video-iframe-container iframe {
    width: 100%;
    height: 200px;
}

.bdb1 {border-bottom: 1px solid #d3d3d3;}

table tr td {
    border-bottom: 1px solid #e3e3e3 !important;
    vertical-align: middle!important;
}
.table.table-bordered td, .table.table-bordered th {
    border-color: #e3e3e3!important;
}

.sec-title {
    font-size: 16px;
    font-weight: 600;
    background: #eaeaea;
    padding: 8px 20px;
    color: #000;
    margin-bottom: 20px;
}
.section .section-header .btn {
    font-size: var(--font-size-common)!important;
}
.main-sidebar .sidebar-brand {
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}
.main-sidebar .sidebar-brand a {
    text-transform: none;
    letter-spacing: normal;
    font-size: 18px;
    font-weight: 600;
}
.main-sidebar .sidebar-menu li a span {
    font-size: var(--font-size-common-1)!important;
}
.main-sidebar .sidebar-menu li a {
    letter-spacing: normal;
    padding-left: 10px;
    padding-right: 10px;
    height: 40px;
}
.main-sidebar .sidebar-menu li a i {
    margin-right: 5px;
    margin-top: 5px;
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li a {
    padding-left: 46px;
    font-size: var(--font-size-common-1);
}
.main-sidebar .sidebar-menu li ul.dropdown-menu li a i {
    width: 18px;
    margin-right: 0;
}
.main-sidebar .sidebar-menu li a.has-dropdown:after {
    top: 55%;
}
.main-sidebar .sidebar-menu li.active a,
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a {
    font-weight: 400;
}

.sub-sidebar {
    font-size: var(--font-size-common);
    background: #e5e8f8;
    margin-bottom: 5px;
}

.card.card-statistic-1 .card-header h4 {
    font-size: 16px;
}
table img {
    padding-top: 10px;
    margin-bottom: 10px;
}
.dataTables_wrapper {
    font-size: var(--font-size-common)!important;
}
thead tr th {
    border-top: 1px solid #ddd!important;
}
/* thead tr th:last-child {
    width: 120px;
} */
.border-box {
    border: 1px solid #d7d7d7!important;
}
.container-login {
    margin-top: 100px!important;
}
.card-header-auth {
    display: block!important;
    border-bottom-color: #fff!important;
    margin-top: 15px!important;
    padding-bottom: 10px!important;
    min-height: 0!important;
}
.card-header-auth h4 {
    font-size: 20px!important;
}
.card-body-auth {
    padding: 10px 20px!important;
}
.card-body-auth button {
    font-size: var(--font-size-common)!important;
}
.note-editor {
    margin-bottom: 0;
}
.form-control, .input-group-text,
.custom-select,
.custom-file-label,
.select2-container .select2-selection--multiple,
.select2-container .select2-selection--single,
.note-editor.note-frame {
    border-color: #d7d7d7!important;
}
.form-control {
    font-size: var(--font-size-common)!important;
}
.card .card-header {
    border-bottom-color: #ebebeb;
}
.custom-switch {
    padding-left: 0;
    padding-top: 10px;
}
#photo_preview {
    padding-top: 5px;
}
#photo_preview img.thumb {
    width: 300px;
}
.note-editor .note-btn {
    padding-left: 10px!important;
    padding-right: 10px!important;
}
.navbar .navbar-brand {
    letter-spacing: normal;
    text-transform: none;
}
.card-body-auth .invalid-feedback {
    font-size: var(--font-size-common);
}
.form-group .control-label,
.form-group > label {
    font-size: var(--font-size-common)!important;
    padding-top: 10px;
    letter-spacing: normal;
    color: #000;
}
.form-label {
    color: #000;
    font-weight: 600;
    font-size: var(--font-size-common)!important;
}
.toggle-container .toggle {
    width: 96.8594px!important;
    height: 36px!important;
}
.navbar .nav-link.nav-link-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
img.profile-photo {
    width: 100%;
    height: auto;
}


img.template-preview {
    width: 100%;
    height: 145px;
    border-radius: 6px;
    border: 2px solid #757575;
}
.funkyradio div {
    overflow: hidden;
    width: 100%;
    float: left;
    margin-right: 20px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
}

.funkyradio div span {
    font-size: var(--font-size-common);
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: 400;
    font-size: var(--font-size-common);
    color: #000;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
    font-size: var(--font-size-common)!important;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 2.5em;
    text-indent: 3.25em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #000;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #000;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #000;
    background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #6777ef;
}

.funkyradio1 .funkyradio-success {
    width: 25%;
    font-size: var(--font-size-common);
    float: left;
}

.funkyradio1 div {
    margin-bottom: 0!important;
}


/* Ajax Loader */
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.75) url(loading.gif) no-repeat center center;
    z-index: 10000;
}

.razorpay-payment-button {
    box-shadow: 0 2px 6px #acb5f6;
    background-color: #6777ef;
    border-color: #6777ef;
    font-weight: 600;
    font-size: var(--font-size-common);
    line-height: 24px;
    padding: 5px 10px;
    color: #fff;
    border-style: none;
    border-radius: 4px;
    width: 100%;
}
.razorpay-payment-button:hover {
    background-color: #394eea!important;
}


.section .section-header .btn:hover,
.section-body button[type="submit"]:hover {
    background: #000!important;
}
/* table tr th:last-child {
    width: 200px;
} */
table.t2 tr th:last-child {
    width: auto!important;
}

td.social a {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: inline-block;
    background: #000;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.invoice hr {
    border-color: #dfdfdf;
}
hr.invoice-above-table {
    display: none;
}
@media print {
    .main-sidebar,
    .navbar,
    .section-header,
    .print-invoice-button,
    .section .section-title:before,
    hr.about-print-button {
        display:none!important;
    }
    .section .section-lead {
        margin-left: 0;
    }
    hr.invoice-above-table {
        display: block;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* TinyMCE Notification Off */
.tox .tox-notification {
    display: none !important;
}

.page-item.active .page-link {
    color: #fff!important;
}

.rightsidetop {
    width: 100%!important;
}
@media (max-width: 991px) {
    .rightsidetop {
        width: auto!important;
    }
}
@media (max-width: 575px) {
    .rightsidetop {
        width: 100%!important;
        position: absolute;
        top: 15px;
        line-height: auto;
    }
}

.partial-item {
    border-radius: 4px;
    border: 2px solid #b4f3be;;
    padding: 20px;
    margin-bottom: 30px;
}

.dropdown-menu a {
    font-size: var(--font-size-common-1);
}

/* ==========================================================================
   Assignment For You - Brand Design System Overrides
   Primary: #0f91e3 | Secondary: #fbbc34
   ========================================================================== */
:root {
    --brand-primary: #0f91e3;
    --brand-primary-hover: #0c7ec4;
    --brand-secondary: #fbbc34;
    --brand-dark: #0f172a;
    --brand-border: #e2e8f0;
}

/* Primary Button & Elements */
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 145, 227, 0.3);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    background-color: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(15, 145, 227, 0.4) !important;
}

.btn-outline-primary {
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

.badge-primary, .bg-primary {
    background-color: var(--brand-primary) !important;
}

.badge-warning, .bg-warning {
    background-color: var(--brand-secondary) !important;
    color: var(--brand-dark) !important;
}

.text-primary, .c1 {
    color: var(--brand-primary) !important;
}

/* Top Navbar High Contrast */
.navbar .nav-link,
.navbar .nav-link.nav-link-user,
.navbar .nav-link.nav-link-lg,
.navbar .dropdown-toggle {
    color: #1e293b !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.nav-link-user:hover,
.navbar .dropdown-toggle:hover {
    color: var(--brand-primary) !important;
}

.navbar .nav-link i {
    color: #1e293b;
}

.navbar .dropdown-toggle::after {
    color: #1e293b !important;
}


/* Sidebar Branding & Active Nav Version 2.0 */
.main-sidebar {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-right: 1px solid var(--brand-border);
}

.main-sidebar .sidebar-brand {
    border-bottom: 1px solid var(--brand-border);
    padding: 10px 15px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.main-sidebar .sidebar-brand-sm {
    border-bottom: 1px solid var(--brand-border);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.main-sidebar .sidebar-menu li {
    margin: 2px 0;
}

.main-sidebar .sidebar-menu li a {
    border-radius: 8px;
    margin: 2px 14px;
    padding: 10px 14px;
    font-weight: 500;
    color: #475569 !important;
    display: flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.main-sidebar .sidebar-menu li a i {
    width: 22px;
    font-size: 15px;
    margin-right: 10px;
    color: #64748b;
    transition: color 0.2s ease;
}

.main-sidebar .sidebar-menu li a:hover {
    color: var(--brand-primary) !important;
    background-color: #f1f8fe !important;
}

.main-sidebar .sidebar-menu li a:hover i {
    color: var(--brand-primary) !important;
}

.main-sidebar .sidebar-menu li.active a {
    color: #0284c7 !important;
    font-weight: 700 !important;
    background-color: #e0f2fe !important;
    border-left: none !important;
}

.main-sidebar .sidebar-menu li.active a i {
    color: #0284c7 !important;
}

.main-sidebar .sidebar-menu li.menu-header {
    padding: 16px 22px 6px 22px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #94a3b8;
}

/* Version 2.0 Modern Statistic Cards */
.card-stat-v2 {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-stat-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 145, 227, 0.08);
    border-color: #cbd5e1;
}

.card-stat-v2 .stat-info h6 {
    margin: 0 0 6px 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.card-stat-v2 .stat-info .stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #0f172a;
}

.card-stat-v2 .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon.icon-sky { background-color: #e0f2fe; color: #0284c7; }
.stat-icon.icon-amber { background-color: #fef3c7; color: #d97706; }
.stat-icon.icon-indigo { background-color: #e0e7ff; color: #4338ca; }
.stat-icon.icon-yellow { background-color: #fef9c3; color: #a16207; }
.stat-icon.icon-rose { background-color: #fee2e2; color: #dc2626; }
.stat-icon.icon-emerald { background-color: #dcfce7; color: #16a34a; }

/* Backward compatibility for card-statistic-1 */
.card.card-statistic-1 {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--brand-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.card-statistic-1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 145, 227, 0.08);
}

.card.card-statistic-1 .card-icon.bg-primary {
    background-color: var(--brand-primary) !important;
    box-shadow: 0 4px 12px rgba(15, 145, 227, 0.35) !important;
}

/* Pagination */
.page-item.active .page-link {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

.page-link {
    color: var(--brand-primary);
}

/* Section Header */
.section .section-header {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--brand-border);
    background: #ffffff;
}

.section .section-header h1 {
    color: var(--brand-dark);
    font-weight: 700;
}

/* Tables */
.table thead th {
    background-color: #f8fafc !important;
    color: #334155 !important;
    font-weight: 700;
    border-bottom: 2px solid var(--brand-border) !important;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table-hover tbody tr:hover {
    background-color: #f1f8fe !important;
}

table td, table th {
    vertical-align: middle !important;
}

/* Action Buttons & Button Groups */
.btn-sm {
    border-radius: 6px !important;
    padding: 0.28rem 0.55rem !important;
    font-size: 0.785rem !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    transition: all 0.15s ease-in-out;
}

.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Tab Navigation Polish */
.nav-tabs {
    border-bottom: 2px solid #e2e8f0;
}

.nav-tabs .nav-link {
    font-weight: 600;
    color: #64748b;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 1.2rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--brand-primary);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--brand-primary) !important;
    border-color: transparent transparent var(--brand-primary) transparent !important;
    background: transparent !important;
    font-weight: 700;
}

/* Version 2.0 Soft Duotone Badges */
.badge {
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    border-radius: 9999px !important;
    padding: 0.35em 0.85em !important;
    font-size: 0.76rem !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.35;
}

.badge-primary, .bg-primary.badge {
    background-color: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}

.badge-info, .bg-info.badge {
    background-color: #e0e7ff !important;
    color: #4338ca !important;
    border: 1px solid #c7d2fe !important;
}

.badge-success, .bg-success.badge {
    background-color: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.badge-warning, .bg-warning.badge {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

.badge-danger, .bg-danger.badge {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

.badge-secondary, .bg-secondary.badge {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

/* Filter Bar Forms */
.form-control:focus, .form-select:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 3px rgba(15, 145, 227, 0.15) !important;
}

/* DataTables Polish for Uniformity */
.dataTables_wrapper {
    padding: 0.5rem 0;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    font-weight: 600;
    color: #475569;
    font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    margin-left: 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(15, 145, 227, 0.15);
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
    outline: none;
}

.dataTables_wrapper .dataTables_info {
    font-size: 0.875rem;
    color: #64748b;
    padding-top: 1rem;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 0.75rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.85rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
    border-color: var(--brand-primary) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f1f5f9 !important;
    color: var(--brand-primary) !important;
    border-color: #cbd5e1 !important;
}

/* Main Footer Polish */
.main-footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 30px 16px 280px;
    font-size: 13px;
    color: #64748b;
    margin-top: 40px;
}

.main-footer a {
    color: var(--brand-primary) !important;
    text-decoration: none;
    font-weight: 600;
}

.main-footer a:hover {
    text-decoration: underline;
}
