/**
* Template Name: NiceAdmin
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Updated: Apr 7 2025 with Bootstrap v5.3.5
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    background: #f9f9f97d;
    color: var(--color-text-soft);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--color-primary);
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
    float: right;
}

.pagination svg {
    width: 25px;
}

.pagination nav div:nth-child(1) {
    display: none;
}



/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--color-primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: var(--color-surface);
    line-height: 0;
}

.back-to-top:hover {
    background: var(--color-secondary);
    color: var(--color-surface);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: var(--color-text-soft);
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: var(--color-secondary-soft);
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--color-background-soft);
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: var(--color-surface);
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid var(--color-border);
        border-left: 1px solid var(--color-border);
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: var(--color-danger-soft);
    border-color: var(--color-danger-soft);
}

.bg-warning-light {
    background-color: var(--color-surface)3cd;
    border-color: var(--color-surface)3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-muted);
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    font-family: "Poppins", sans-serif;
}

.card-title span {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--color-border);
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--color-text);
    background-color: var(--color-background-soft);
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: var(--color-primary);
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: var(--color-text-soft);
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: var(--color-muted);
    font-weight: 600;
}

.breadcrumb a {
    color: var(--color-muted);
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: var(--color-text-soft);
}

.breadcrumb .breadcrumb-item::before {
    color: var(--color-muted);
}

.breadcrumb .active {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Border Tabs */
.nav-tabs-border {
    border-bottom: 2px solid var(--color-border);
}

.nav-tabs-border .nav-link {
    margin-bottom: -2px;
    border: none;
    color: var(--color-text-soft);
}

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

.nav-tabs-border .nav-link.active {
    background-color: var(--color-surface);
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 250px;
    }
}

.logo img {
    width: 100%;
    max-width: 120px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-text);
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: var(--color-surface);
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn:hover {
    background: var(--color-primary);
}

.header .toggle-sidebar-btn {
    font-size: 27px;
    padding: 4px;
    cursor: pointer;
    background: #000;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-surface);
    margin-left: 16px;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: var(--color-surface);
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: var(--color-text);
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: var(--color-text);
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: var(--color-text);
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: var(--color-text);
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: var(--color-muted);
}

.header-nav .notifications .notification-item:hover {
    background-color: var(--color-background-soft);
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text-soft);
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: var(--color-muted);
}

.header-nav .messages .message-item:hover {
    background-color: var(--color-background-soft);
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--color-text-soft);
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: var(--color-primary-soft);
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-muted-light) transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: var(--color-surface);
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: var(--color-surface);
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: var(--color-muted-light);
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-muted);
    font-weight: 600;
    margin: 10px 0 5px 15px;
}


.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #000;
}

.sidebar-nav .nav-link.collapsed {
    color: #000;
    background: var(--color-surface);
}

.sidebar-nav .nav-link.collapsed i {
    color: #000;
}

.sidebar-nav .nav-link:hover {
    color: #000;
    background: var(--color-primary-soft);
}

.sidebar-nav .nav-link:hover i {
    color: #000;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: var(--color-primary);
}

.sidebar-nav .nav-content a.active i {
    background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: var(--color-muted-light);
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: var(--color-primary);
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-muted-light);
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: var(--color-text);
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: var(--color-primary);
    background: var(--color-primary-subtle);
}

.dashboard .revenue-card .card-icon {
    color: var(--color-success);
    background: var(--color-success-soft);
}

.dashboard .customers-card .card-icon {
    color: var(--color-warning);
    background: var(--color-warning-soft);
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: var(--color-primary-subtle);
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid var(--color-surface);
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: var(--color-text);
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: var(--color-primary);
}

.dashboard .news p {
    font-size: 14px;
    color: var(--color-muted);
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: var(--color-primary-subtle);
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: var(--color-primary-subtle);
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: var(--color-surface);
    border-radius: 0.25rem;
    text-align: center;
    color: var(--color-text);
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-muted);
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-soft);
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: var(--color-text);
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: var(--color-text);
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
}

.faq .basic p {
    color: var(--color-muted);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: var(--color-primary);
}

.contact .info-box h3 {
    font-size: 20px;
    color: var(--color-text);
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: var(--color-surface);
    background: var(--color-danger);
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: var(--color-surface);
    background: var(--color-success);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: var(--color-surface);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--color-success);
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--color-primary);
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
    background: var(--color-primary);
    border: 0;
    padding: 10px 30px;
    color: var(--color-surface);
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: var(--color-secondary);
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 30px;
}

.error-404 .btn {
    background: var(--color-text-soft);
    color: var(--color-surface);
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: var(--color-text-soft);
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid var(--color-border);
}

.footer .copyright {
    text-align: center;
    color: #000;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: var(--color-text);
}

.qrimg {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border: 1px solid var(--color-border-strong);
    background: var(--color-surface);
}

tbody,
td,
tfoot,
th,
thead,
tr {
    vertical-align: middle;
}

th,
td {
    white-space: nowrap;
}

.tableWrapper {
    overflow: auto;
}

th {
    background: var(--color-primary) !important;
    color: var(--color-surface);
}

ul#available_phone_numbers {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    min-height: 200px;
    background: #6c757d0f;
}

input#c_streetName {
    text-transform: uppercase !important;
}

/* ===== Authentication Pages CSS ===== */


#footer {
    display: none;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
   background:
        radial-gradient(circle at top left,
            rgba(61,194,255,.25) 0%,
            transparent 30%),
        radial-gradient(circle at bottom right,
            rgba(36,86,255,.18) 0%,
            transparent 40%),
        linear-gradient(0deg,
            #1289cb 0%,
            #1561ad 40%,
            #18488f 100%);
    padding: 20px;
}

.auth-container {
    background: var(--color-surface);
    border-radius: 15px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
}

.auth-left {
    background:
        url("../../images/LeftAreaBackground.png") no-repeat 109% 138% / 319px,
        radial-gradient(circle at 95% 12%, rgba(42, 102, 255, .95) 0%, rgba(42, 102, 255, .55) 22%, transparent 52%),
        radial-gradient(circle at 0% 0%, rgba(0, 170, 255, .18) 0%, transparent 35%),
        linear-gradient(135deg, #06164a 0%, #0b1f63 45%, #123fbd 100%);

    color: var(--color-surface);
    padding: 60px 194px 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    height: 100%;
}

.auth-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.auth-left p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.auth-features {
    margin-top: 40px;
}

.auth-feature {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.auth-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.auth-feature-text {
    font-size: 0.95rem;
}

.auth-right {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-logo {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo img {
    max-width: 120px;
    height: auto;
}

.auth-title {
    text-align: center;
    margin-bottom: 20px;
}

.auth-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.auth-title p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.form-control {
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.2rem rgba(3, 142, 212, 0.15);
    background-color: var(--color-background-soft);
}

.form-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.btn-login {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--color-surface);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 142, 212, 0.4);
    color: var(--color-surface);
}

.form-check-input {
    border: 2px solid var(--color-border);
    border-radius: 4px;
    width: 1.2em;
    height: 1.2em;
}

.form-check-input:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.form-check-label {
    margin-left: 10px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.forgot-password {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--color-primary);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

.alert-success {
    background-color: var(--color-success-soft);
    color: var(--color-success);
}

.alert-danger {
    background-color: var(--color-danger-soft);
    color: var(--color-danger);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--color-surface);
    width: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 142, 212, 0.4);
    color: var(--color-surface);
}

@media (max-width: 991px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 40px 30px;
    }

    .auth-left h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .auth-right {
        padding: 30px 20px;
    }

    .auth-title h1 {
        font-size: 1.5rem;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Modern Enterprise Dashboard ===== */
.app-shell {
    --brand-start: var(--color-secondary);
    --brand-end: var(--color-primary);
    --brand-soft: var(--color-hover);
    --brand-border: var(--color-active);
    --shell-bg: var(--color-background);
    --surface: var(--color-surface);
    --surface-muted: var(--color-background-soft);
    --text-strong: var(--color-text);
    --text-muted: var(--color-muted);
    --sidebar-width: 288px;
    background: var(--shell-bg);
    color: var(--text-strong);
}

.app-shell #main {
    margin-top: 72px;
    padding: 28px;
    min-height: calc(100vh - 72px);
    background:
        radial-gradient(circle at top left, var(--color-secondary-soft), transparent 34%),
        linear-gradient(180deg, var(--color-background-soft) 0%, var(--color-background) 320px);
}

.app-shell #footer {
    display: block;
    background: transparent;
    border-top: 0;
    color: var(--text-muted);
}

.app-shell .header {
    height: 72px;
    padding: 0 16px;
      background:
        radial-gradient(circle at 0% 0%,
            rgba(255,255,255,.12),
            transparent 40%),
        linear-gradient(
            135deg,
            #031946,
            #105aa5,
            #1488cc
        );
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(16px);
}

.app-shell .header-brand {
    min-width: calc(var(--sidebar-width) - 28px);
    gap: 16px;
}

.app-shell .logo {
    min-height: 46px;
}

.app-shell .logo img {
    max-width: 138px;
    max-height: 44px;
    object-fit: contain;
}

.app-shell .header .toggle-sidebar-btn {
    width: 42px;
    height: 42px;
    margin-left: 0;
    padding: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    color: var(--color-surface);
    font-size: 24px;
    box-shadow: 0 12px 26px rgba(33, 107, 230, 0.28);
}

.app-shell .header .toggle-sidebar-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-1px);
}

.app-shell .header-nav .nav-icon {
    width: 42px;
    height: 42px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--color-text-soft);
    background: #f1f5f9;
}

.app-shell .header-nav .nav-profile {
    min-height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
justify-content: center;
    padding: 6px 12px 6px 6px !important;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    color: var(--text-strong);
    background: var(--color-surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.app-shell .header-nav .nav-profile span.dropdown-toggle {
    font-size: 14px;
    font-weight: 700;
}

.app-shell .profile-avatar {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    color: var(--color-surface);
    font-size: 14px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.app-shell .dropdown-menu {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.app-shell .header-nav .profile .dropdown-header h6 {
    color: var(--text-strong);
    font-weight: 800;
}

.app-shell .header-nav .profile .dropdown-header span {
    color: var(--text-muted);
}

.app-shell .header-nav .profile .dropdown-item {
    padding: 11px 16px;
    color: var(--color-text-soft);
    border-radius: 10px;
}

.app-shell .header-nav .profile .dropdown-item:hover {
    background: var(--brand-soft);
    color: var(--brand-end);
}

.app-shell .header-nav .profile .dropdown-item i {
    color: var(--brand-end);
}

.app-shell .sidebar {
    top: 72px;
    width: var(--sidebar-width);
    padding: 18px 14px;
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background-soft) 100%);
    border-right: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 12px 0 34px rgba(15, 23, 42, 0.06);
    scrollbar-color: rgba(82, 156, 230, 0.45) transparent;
}

.app-shell .sidebar-panel {
    min-height: 100%;
}

.app-shell .sidebar-label {
    padding: 8px 14px 12px;
    color: var(--color-muted-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.app-shell .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-shell .sidebar-nav .nav-item {
    margin-bottom: 0;
}

.app-shell .sidebar-nav .nav-link {
        display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 15px;
    gap: 10px;
    border-radius: 14px;
    color: var(--color-text-soft);
    /*background: linear-gradient(135deg, rgba(82, 156, 230, 0.16), rgba(33, 107, 230, 0.08));*/
    /*    box-shadow: 0 10px 22px rgba(33, 107, 230, 0.08);*/
    font-size: 14px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: 0;

}

.app-shell .sidebar-nav .nav-link.collapsed {
    color: var(--color-text-soft);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.app-shell .sidebar-nav .nav-link i {
    width: 30px;
    height: 30px;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--brand-end);
    background: var(--brand-soft);
    font-size: 16px;
    flex: 0 0 30px;
}

.app-shell .sidebar-nav .nav-link:not(.collapsed) i:first-child {
    color: var(--color-surface);
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
}

.app-shell .sidebar-nav .nav-link span {
    white-space: normal;
    line-height: 1.25;
}

.app-shell .sidebar-nav .nav-link .bi-chevron-down {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    background: transparent;
    color: var(--color-muted-light);
    font-size: 14px;
}

.app-shell .sidebar-nav .nav-link:hover,
.app-shell .sidebar-nav .nav-link.collapsed:hover {
    color: var(--brand-end);
    /*background: var(--surface-muted);*/
    /*border-color: var(--brand-border);*/
        background: linear-gradient(135deg, rgba(82, 156, 230, 0.16), rgba(33, 107, 230, 0.08));
    border: 1px solid var(--color-primary-soft);
        box-shadow: 0 10px 22px rgba(33, 107, 230, 0.08);
}

.app-shell .sidebar-nav .nav-content {
    margin: 6px 0 8px 19px;
    padding: 4px 0 4px 14px;
    border-left: 1px solid rgba(148, 163, 184, 0.24);
}

.app-shell .sidebar-nav .nav-content a {
    min-height: 38px;
    padding: 8px 10px;
    gap: 9px;
    border-radius: 11px;
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 700;
}

.app-shell .sidebar-nav .nav-content a i {
    width: 24px;
    height: 24px;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--color-muted);
    background: var(--color-background-soft);
    font-size: 13px;
    flex: 0 0 24px;
}

.app-shell .sidebar-nav .nav-content a:hover,
.app-shell .sidebar-nav .nav-content a.active {
    color: var(--brand-end);
    background: var(--brand-soft);
}

.app-shell .sidebar-nav .nav-content a:hover i,
.app-shell .sidebar-nav .nav-content a.active i {
    color: var(--color-surface);
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
}

.app-shell .sidebar-nav .nav-content .nav-content {
    margin: 4px 0 8px 24px;
    padding-left: 12px;
}

.app-shell .sidebar-nav .nav-content .nav-content a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12.5px;
}

.app-shell .pagetitle {
    margin-bottom: 18px;
}

.app-shell .pagetitle h1 {
    color: var(--text-strong);
    font-size: 26px;
    font-weight: 800;
}

.app-shell .breadcrumb {
    color: var(--text-muted);
}

.app-shell .breadcrumb .active,
.app-shell .breadcrumb a:hover {
    color: var(--brand-end);
}

.app-shell .card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.app-shell .card-header,
.app-shell .card-footer {
    background: var(--color-surface);
    border-color: rgba(148, 163, 184, 0.16);
    color: var(--text-muted);
}

.app-shell .card-body {
    padding: 22px;
}

.app-shell .card-title {
    color: var(--text-strong);
    font-size: 17px;
    font-weight: 800;
    padding: 0 0 16px;
}

.app-shell .card-title span {
    color: var(--text-muted);
}

.app-shell .dashboard .info-card {
    position: relative;
    padding-bottom: 0;
}

.app-shell .dashboard .info-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-start), var(--brand-end));
}

.app-shell .dashboard .info-card h6 {
    color: var(--text-strong);
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 900;
}

.app-shell .dashboard .card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: var(--color-surface);
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    box-shadow: 0 14px 26px rgba(33, 107, 230, 0.26);
}

.app-shell .dashboard .sales-card .card-icon,
.app-shell .dashboard .revenue-card .card-icon,
.app-shell .dashboard .customers-card .card-icon {
    color: var(--color-surface);
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
}

.app-shell .tableWrapper,
.app-shell .table-responsive {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: var(--color-surface);
}

.app-shell table {
    margin-bottom: 0;
}


.app-shell td {
    color: var(--color-text-soft);
    border-color: rgba(148, 163, 184, 0.14);
}

.app-shell .btn-primary,
.app-shell .btn-login {
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    border: 0;
    box-shadow: 0 12px 24px rgba(33, 107, 230, 0.22);
}
.auth-right .btn-login,
.auth-right .btn-primary{
        width: 100%;
}

.app-shell .btn-primary:hover,
.app-shell .btn-login:hover {
    background: var(--gradient-primary);
}

.app-shell .back-to-top {
    background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(33, 107, 230, 0.3);
}

@media (min-width: 1200px) {
    .app-shell #main,
    .app-shell #footer {
        margin-left: var(--sidebar-width);
    }

    .app-shell.toggle-sidebar #main,
    .app-shell.toggle-sidebar #footer {
        margin-left: 0;
    }

    .app-shell.toggle-sidebar .sidebar {
        left: calc(var(--sidebar-width) * -1);
    }
}

@media (max-width: 1199px) {
    .app-shell .header {
        padding: 0 18px;
    }

    .app-shell .header-brand {
        min-width: auto;
    }

    .app-shell .sidebar {
        left: calc(var(--sidebar-width) * -1);
        z-index: 999;
    }

    .app-shell.toggle-sidebar .sidebar {
        left: 0;
    }

    .app-shell #main {
        padding: 24px 18px;
    }
}

@media (max-width: 768px) {
    .app-shell {
        --sidebar-width: min(86vw, 320px);
    }

    .app-shell .header {
        position: fixed;
        height: 64px;
        padding: 0 14px;
    }

    .app-shell .logo img {
        max-width: 116px;
    }

    .app-shell .header .toggle-sidebar-btn,
    .app-shell .header-nav .nav-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .app-shell .profile-avatar {
        width: 32px;
        height: 32px;
    }

    .app-shell .sidebar {
        top: 64px;
        padding: 14px 12px;
    }

    .app-shell #main {
        margin-top: 64px;
        padding: 18px 12px 24px;
        min-height: calc(100vh - 64px);
    }

    .app-shell .card {
        border-radius: 14px;
    }

    .app-shell .card-body {
        padding: 18px;
    }

    .app-shell .pagetitle h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .app-shell .header-nav .nav-item.d-block.d-lg-none {
        display: none !important;
    }

    .app-shell .header-nav .nav-profile {
        padding: 4px !important;
    }

    .app-shell .sidebar-nav .nav-link {
        min-height: 44px;
        padding: 10px;
        font-size: 13.5px;
    }

    .app-shell .sidebar-nav .nav-content {
        margin-left: 14px;
        padding-left: 10px;
    }

    .app-shell .dashboard .card-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
}

/* ===== Forms, Tables, and Data Controls ===== */
body {
    background: var(--color-background);
    color: var(--color-text);
}

.form-label,
label {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.form-text,
.text-muted,
small {
    color: var(--color-muted) !important;
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
input[type="search"],
input[type="file"] {
    min-height: 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-surface);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

textarea.form-control,
textarea {
    min-height: 110px;
    resize: vertical;
}

.form-control:hover,
.form-select:hover,
select:hover,
textarea:hover,
input:hover {
    border-color: var(--color-border-strong);
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
    background-color: var(--color-surface);
    color: var(--color-text);
    outline: 0;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--color-muted-light);
}

.form-control:disabled,
.form-select:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    background-color: var(--color-surface-soft);
    color: var(--color-muted);
    cursor: not-allowed;
}

.input-group {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
}

.input-group .form-control,
.input-group .form-select,
.input-group .btn {
    box-shadow: none;
}

.input-group-text {
    border-color: var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-background-soft);
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0;
    border: 1px solid var(--color-border-strong);
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.form-check-input:focus {
    border-color: var(--color-primary);
    box-shadow: var(--focus-ring);
}

.form-check-input[type="checkbox"] {
    border-radius: 5px;
}

.form-switch .form-check-input {
    width: 2.35rem;
    height: 1.25rem;
    border-radius: 999px;
}

.form-check-label {
    margin-left: 0;
    color: var(--color-text-soft);
    font-size: 14px;
    font-weight: 600;
}

.is-invalid,
.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 0.16rem var(--color-danger-soft);
}

.invalid-feedback,
span.invalid-feedback,
.error,
.text-danger {
    color: var(--color-danger) !important;
    font-size: 12.5px;
    font-weight: 700;
    margin-top: 6px;
}

.alert {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.alert-success {
    background: var(--color-success-soft);
    color: var(--color-success);
}

.alert-danger {
    background: var(--color-danger-soft);
    color: var(--color-danger);
}

.alert-warning {
    background: var(--color-warning-soft);
    color: var(--color-warning);
}

.alert-info {
    background: var(--color-info-soft);
    color: var(--color-info);
}

.btn,
button[type="submit"],
button[type="button"] {
    min-height: 40px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
button[type="submit"]:hover,
button[type="button"]:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-login,
.contact .php-email-form button[type="submit"] {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-surface);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover,
.btn-login:hover,
.contact .php-email-form button[type="submit"]:hover {
    background: var(--gradient-primary-hover);
    color: var(--color-surface);
}

.btn-secondary {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--color-text-soft);
        padding: 14px 20px;
}

.btn-secondary:hover {
    background: var(--color-background-soft);
    border-color: var(--color-border-strong);
    color: var(--color-text);
}

.btn-danger {
    background: var(--color-danger);
    border-color: var(--color-danger);
    color: var(--color-surface);
}

.btn-success {
    background: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-surface);
}

.btn-warning {
    background: var(--color-warning);
    border-color: var(--color-warning);
    color: #fff !important;
}

.btn-info {
    background: var(--color-info);
    border-color: var(--color-info);
    color: var(--color-surface);
}

.btn-sm,
.table .btn,
.options-btn .btn {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
        width: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
        color: #fff !important;

}

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

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

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

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

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

.tableWrapper,
.table-responsive,
.dataTable-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.table,
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--color-text-soft);
}

.table > :not(caption) > * > *,
table tr td,
table tr th {
    padding: 13px 16px;
    border-bottom: 1px solid var(--color-border) !important;
    vertical-align: middle !important;
    font-size: 14px;
}

.table thead th,
.table > thead > tr > th,
thead th,
th {
    background: var(--gradient-table-head) !important;
    color: var(--color-surface) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table tbody tr,
tbody tr {
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.table-striped > tbody > tr:nth-of-type(odd) > *,
.table tbody tr:nth-child(even) td {
    background-color: var(--color-surface-soft);
}

.table-hover > tbody > tr:hover > *,
.table tbody tr:hover td,
tbody tr:hover td {
    background-color: var(--color-hover) !important;
}

.table tbody tr:last-child td,
tbody tr:last-child td {
    border-bottom: 0 !important;
}

.table td a,
table td a {
    color: var(--color-primary);
    font-weight: 800;
}

.table td .btn,
table td .btn,
.admin-button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #fff;
}

.dataTable-wrapper,
.dataTables_wrapper {
    width: 100%;
}

.dataTable-top,
.dataTables_length,
.dataTables_filter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 0 16px;
}

.dataTable-input,
.dataTables_filter input,
.dataTable-selector,
.dataTables_length select {
    min-height: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    box-shadow: var(--shadow-xs);
}

.dataTable-sorter,
.dataTables_wrapper .sorting,
.dataTables_wrapper .sorting_asc,
.dataTables_wrapper .sorting_desc {
    color: var(--color-surface);
}

.dataTable-bottom,
.dataTables_paginate,
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.dataTable-info,
.dataTables_info {
    color: var(--color-muted);
    font-size: 13px;
    font-weight: 600;
}

.pagination {
    float: none;
    margin: 0 0 0 16px;
}
.paginate-num p.small.text-muted {
    margin: 0;
}

.pagination .page-link,
.dataTable-pagination a,
.paginate_button {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm) !important;
    background: var(--color-surface);
    color: var(--color-text-soft);
    font-size: 13px;
    font-weight: 800;
    box-shadow: var(--shadow-xs);
}

.pagination .page-link:hover,
.dataTable-pagination a:hover,
.paginate_button:hover {
    border-color: var(--color-primary);
    background: var(--color-hover);
    color: var(--color-primary);
}

.pagination .active .page-link,
.pagination > .active > a,
.dataTable-pagination .active a,
.paginate_button.current {
    border-color: transparent !important;
    background: var(--gradient-primary) !important;
    color: var(--color-surface) !important;
    box-shadow: var(--shadow-primary);
}

.auth-title h1,
.card-title,
.panel-heading,
.page-header {
    color: var(--color-text);
}

.auth-title p {
    color: var(--color-muted);
}

.forgot-password,
a {
    color: var(--color-primary);
}

.forgot-password:hover,
a:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .form-control,
    .form-select,
    select,
    textarea,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="date"],
    input[type="search"] {
        min-height: 42px;
        font-size: 14px;
    }

    .table > :not(caption) > * > *,
    table tr td,
    table tr th {
        padding: 11px 12px;
        font-size: 13px;
    }

    .dataTable-top,
    .dataTables_length,
    .dataTables_filter,
    .dataTable-bottom,
    .dataTables_paginate,
    .pagination {
        justify-content: flex-start;
    }

    .dataTables_filter,
    .dataTables_filter label,
    .dataTables_filter input,
    .dataTable-search,
    .dataTable-input {
        width: 100%;
    }

    .btn,
    button[type="submit"],
    button[type="button"] {
        min-height: 38px;
    }
}

/* Tablet & Mobile */
@media (max-width: 1024px) {

    .header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
    }

    /* Left Section */
    .header-brand {
        width: auto;
        display: flex;
        align-items: center;
    }

    /* Hamburger */
    .toggle-sidebar-btn {
        position: relative;
        z-index: 3;
        margin: 0;
        font-size: 28px;
    }

    /* Center Logo */
    .header-brand .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        z-index: 2;
    }

    .header-brand .logo img {
        height: 42px;
        width: auto;
    }

    /* Right Profile */
    .header-nav {
        margin-left: auto !important;
        position: relative;
        z-index: 3;
    }

}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: linear-gradient(135deg, #529ce6, #216be6);
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.profile-dropdown-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 2px solid rgba(255,255,255,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.profile-dropdown-info h6 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.profile-dropdown-info span {
    display: inline-block;
    margin-top: 2px;
    font-size: 13px;
    color: rgba(255,255,255,.85);
}

.dropdown-menu.profile {
    border: none;
    border-radius: 12px;
    /* overflow: hidden; */
    min-width: 280px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}
.dropdown-menu-arrow::before {
    background: #3f84ea !important;
    border-color: #3f84ea !important;
}
.dropdown-menu.profile .dropdown-item {
    padding: 12px 18px;
    transition: .25s;
}

.dropdown-menu.profile .dropdown-item i {
    width: 22px;
    color: var(--primary-color, #216be6);
}

.dropdown-menu.profile .dropdown-item:hover {
    background: rgba(33,107,230,.08);
    color: #216be6;
}
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 15px center;

    background-size: 16px;
    padding-right: 40px;
}