:root {
    --admin-bg: #08080a;
    --admin-surface: #141417;
    --admin-surface-soft: #fbfcff;
    --admin-text: #ededf0;
    --admin-muted: #8e8e93;
    --admin-primary: #ffd60a;
    --admin-primary-strong: #3f6df0;
    --admin-accent: #64d2ff;
    --admin-success: #30d158;
    --admin-warning: #ffd60a;
    --admin-danger: #ff453a;
    --admin-border: #ffffff14;
    --admin-hover: #f2f6ff;
    --admin-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 48px -12px rgba(0, 0, 0, 0.65);
    --admin-shadow-soft: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 28px -8px rgba(0, 0, 0, 0.5);
}

body.admin-shell {
    background: radial-gradient(1100px 620px at 8% -8%, rgba(255, 214, 10, 0.07) 0%, rgba(255, 214, 10, 0) 62%),
        radial-gradient(900px 520px at 96% -4%, rgba(100, 210, 255, 0.045) 0%, rgba(100, 210, 255, 0) 58%),
        radial-gradient(1200px 700px at 50% 120%, rgba(255, 159, 10, 0.035) 0%, rgba(255, 159, 10, 0) 60%),
        var(--admin-bg);
    color: var(--admin-text);
    font-family: "Noto Sans Arabic", "Rubik", "Roboto", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--admin-text);
    font-family: "UKIJ Tor", "Rubik", sans-serif;
}

.nav-header {
    background: transparent;
    border-right: 0;
    border-bottom: 1px solid var(--admin-border);
}

.nav-header .brand-logo {
    gap: 12px;
    padding-left: 22px;
    padding-right: 22px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(140deg, #ffd60a 0%, #ff9f0a 100%);
    box-shadow: 0 8px 20px -6px var(--admin-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-header .brand-logo .logo-tabib {
    max-width: 24px;
    filter: brightness(0) invert(1);
}

.brand-title-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.nav-header .brand-logo .brand-title {
    margin: 0;
    max-width: 120px;
    filter: brightness(0) invert(1);
}

.brand-subtitle {
    color: #8e8e93;
    font-size: 16px;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

.left-panel {
    background: var(--admin-glass);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-right: 1px solid var(--admin-border);
    scrollbar-width: none;
}

.navigation {
    margin-top: 0;
    padding-top: 18px;
}

.menu-caption {
    color: #8e8e93;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0 24px 12px;
}

.navigation .main-menu {
    padding-top: 6px;
}

.navigation .main-menu .has-submenu {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 8px;
}

.navigation .main-menu .has-submenu a {
    position: relative;
    border-radius: 12px;
    color: #c7c7cc;
    background: transparent;
    border: 1px solid transparent;
    font-weight: 600;
    padding: 12px 14px;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
        box-shadow 0.22s ease, transform 0.22s ease;
}

.navigation .main-menu .has-submenu a i {
    width: 30px;
    padding-right: 8px;
    color: #8e8e93;
    transition: color 0.22s ease;
}

.navigation .main-menu .has-submenu:hover a {
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--admin-border);
    transform: translateX(2px);
}

.navigation .main-menu .has-submenu:hover .nav-label,
.navigation .main-menu .has-submenu:hover i {
    color: var(--admin-primary);
}

.navigation .main-menu .has-submenu.active a {
    background: linear-gradient(135deg, #ffd60a 0%, #ff9f0a 100%);
    color: #17140a;
    border-color: transparent;
    box-shadow: 0 10px 26px -8px rgba(255, 159, 10, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.navigation .main-menu .has-submenu.active a i,
.navigation .main-menu .has-submenu.active a .nav-label {
    color: #17140a;
}

.menu-toggle .menu-caption {
    display: none;
}

.menu-toggle .navigation .main-menu .has-submenu a {
    background: transparent;
    border-color: transparent;
}

.menu-toggle .navigation .main-menu .has-submenu.active a {
     background: linear-gradient(135deg, #ffd60a 0%, #ff9f0a 100%);
}

.header {
    background: transparent;
}

.header .top-head {
    margin: 10px 18px 0;
    height: calc(100% - 10px);
    background: rgba(20, 20, 23, 0.72);
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow-soft);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
}

.top-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.head-title h5 {
    margin-bottom: 2px;
    font-size: 16px;
    color: var(--admin-text);
}

.head-title small {
    color: var(--admin-muted);
    font-size: 12px;
}

.header .top-head .nav-control .hamburger {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff0d;
    border: 1px solid var(--admin-border);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header .top-head .nav-control .hamburger:hover {
    background: rgba(255, 214, 10, 0.12);
    border-color: rgba(255, 214, 10, 0.3);
}

.header .top-head .nav-control .hamburger .line {
    background: var(--admin-primary);
    margin-top: 3px;
    margin-bottom: 3px;
    height: 2px;
}

.header .top-head .header-right .fullscreen .full a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    background: #ffffff0d;
    color: #c5c5c5;
}

.header .top-head .header-right .fullscreen .full a:hover {
    background: rgba(255, 214, 10, 0.12);
    border-color: rgba(255, 214, 10, 0.3);
    color: var(--admin-primary);
}

.header .top-head .header-right .my-account-wrapper {
    background: #ffffff0a;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
}

.header .top-head .header-right .my-account-wrapper .account-control .header-profile img {
    border-radius: 10px;
    border: 2px solid #ffd60a59;
    box-shadow: 0 0 14px -4px var(--admin-glow);
}

.header .top-head .header-right .my-account-wrapper .account-control .header-profile .header-info {
    text-align: right;
}

.header .top-head .header-right .my-account-wrapper .account-control .header-profile .header-info span {
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.1;
}

.content-body {
    background: transparent;
}

.content-body .container-fluid {
    padding-top: 30px;
    padding-right: 22px;
    padding-left: 22px;
}

.page-titles {
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow-soft);
    padding: 16px 18px;
}

.page-titles h4,
.page-titles .text-primary {
    color: var(--admin-primary) !important;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 100%), var(--admin-surface);
    color: var(--admin-text);
    border-radius: 16px;
    border: 1px solid var(--admin-border);
    box-shadow: var(--admin-shadow-soft);
    overflow: hidden;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--admin-border);
    padding: 20px 22px;
}

.card-header .card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--admin-text);
}

.card-body {
    padding: 22px;
}

.dashboard-welcome {
    position: relative;
}

.welcome-showcase {
    border: none;
    box-shadow: var(--admin-shadow);
    overflow: hidden;
}

.welcome-showcase .card-body {
    position: relative;
    padding: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 42%),
                linear-gradient(180deg, #17171a 0%, #121215 100%);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
}

.welcome-showcase .card-body::before {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    top: 0;
    width: auto;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 214, 10, 0) 0%, rgba(255, 214, 10, 0.6) 50%, rgba(255, 214, 10, 0) 100%);
    filter: none;
}

.welcome-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.welcome-kicker {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid #ffd60a3d;
    background: #ffd60a1a;
    color: #ffd60a;
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.welcome-content h4 {
    margin-top: 14px;
    margin-bottom: 8px;
    color: #ededf0;
    font-size: 31px;
    font-weight: 700;
}

.welcome-content p {
    margin-bottom: 16px;
    color: #8e8e93;
    line-height: 1.72;
}

.welcome-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.welcome-tags span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff0e;
    border: 1px solid var(--admin-border);
    color: #c7c7cc;
    font-size: 12px;
}

.welcome-tags span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--admin-primary);
    box-shadow: 0 0 8px rgba(255, 214, 10, 0.6);
}    

.welcome-orb {
    position: absolute;
    right: 24px;
    bottom: -28px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(93, 135, 255, 0.2) 0%, rgba(93, 135, 255, 0) 72%);
}

.stat-grid > div {
    margin-top: 18px;
}

.kpi-card {
    --kpi-accent: #ffd60a;
    --kpi-soft: rgba(255, 214, 10, 0.12);
    --kpi-soft-border: rgba(255, 214, 10, 0.28);
    border: 1px solid var(--admin-border) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 62%), var(--admin-surface) !important;
    color: var(--admin-text) !important;
    position: relative;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.dashboard-welcome .kpi-card.card-primary {
    --kpi-accent: #ffd60a;
    --kpi-soft: #ffd60a1f;
    --kpi-soft-border: #ffd60a47;
}

.dashboard-welcome .kpi-card.card-success {
    --kpi-accent: #30d158;
    --kpi-soft: #30d1581f;
    --kpi-soft-border: #30d15847;
}

.dashboard-welcome .kpi-card.card-danger {
    --kpi-accent: #ff453a;
    --kpi-soft: #ff453a1f;
    --kpi-soft-border: #ff453a47;
}

.dashboard-welcome .widget.card.kpi-card {
    border-top: 1px solid var(--admin-border) !important;
}

.kpi-card:hover {
    transform: translateY(-3px);
    border-color: var(--kpi-soft-border) !important;
    box-shadow: 0 22px 40px -14px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--kpi-soft-border);
}

.kpi-card::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent 0%, var(--kpi-accent) 22%, var(--kpi-accent) 78%, transparent 100%);
}

.kpi-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.kpi-dot {
    width: 34px;
    height: 8px;
    border-radius: 999px;
    background: var(--kpi-soft);
    border: 1px solid var(--kpi-soft-border);
    position: relative;
}

.kpi-dot::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--kpi-accent);
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--kpi-soft-border);
    background: var(--kpi-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: var(--kpi-accent);
    font-size: 18px;
}

.stat-title {
    color: #8e8e93;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.stat-value {
    color: #ededf0;
    margin-top: 6px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.form-control,
.form-select,
textarea {
    border-radius: 10px;
    border: 1px solid var(--admin-border);
    background-color: #1b1b1f;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: #ffd60a8c;
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.16);
    background: #242429;
    color: #ededf0;
}

.table-responsive {
    border-radius: 12px;
    border: 1px solid var(--admin-border);
}

table.dataTable thead th,
.display thead th,
.table thead th {
    background: #141417;
    color: #c7c7cc;
    border-bottom: 1px solid var(--admin-border) !important;
}

table.dataTable tbody td,
.display tbody td {
    border-top: 1px solid #e8eef7;
    vertical-align: middle;
}

table.dataTable tbody tr:hover,
.display tbody tr:hover,
.table tbody tr:hover {
    background: #ffd60a0b;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    border: 0;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd60a 0%, #ff9f0a 100%);
    color: #17140a !important;
    box-shadow: 0 8px 20px -8px rgba(255, 159, 10, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #ffe14b 0%, #ffab2e 100%);
    box-shadow: 0 12px 26px -8px rgba(255, 159, 10, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    color: #17140a !important;
}

.btn-secondary {
    background: linear-gradient(90deg, #7b879d 0%, #68758c 100%);
    color: #f8fafc !important;
}

.btn-success {
    background: linear-gradient(90deg, #63bfa8 0%, #88d2c2 100%);
    color: #f8fffe !important;
}

.btn-danger {
    background: linear-gradient(90deg, #ed9ba5 0%, #e7aab6 100%);
    color: #ffffff !important;
}

.btn-warning {
    background: linear-gradient(90deg, #f2ca8c 0%, #f7ddae 100%);
    color: #1f2937 !important;
}

.btn-info {
    background: linear-gradient(90deg, #86b6ff 0%, #9cc8ff 100%);
    color: #ffffff !important;
}

.btn-dark {
    background: linear-gradient(90deg, #6b7790 0%, #5b677f 100%);
    color: #f8fafc !important;
}

.btn-light {
    background: #eef4ff;
    color: #31508a !important;
    border: 1px solid var(--admin-border);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-success:hover,
.btn-success:focus,
.btn-danger:hover,
.btn-danger:focus,
.btn-warning:hover,
.btn-warning:focus,
.btn-info:hover,
.btn-info:focus,
.btn-dark:hover,
.btn-dark:focus {
    filter: brightness(0.96);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #f8fafc !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-danger:hover,
.btn-danger:focus,
.btn-info:hover,
.btn-info:focus,
.btn-dark:hover,
.btn-dark:focus {
    color: #ffffff !important;
}

.btn-warning:hover,
.btn-warning:focus {
    color: #1f2937 !important;
}

.btn-light:hover,
.btn-light:focus {
    color: #25457d !important;
}

a.btn:hover,
a.btn:focus {
    text-decoration: none !important;
}

.btn-outline-primary {
    color: #ffd60a !important;
    border: 1px solid #ffd60a52 !important;
    background: #ffd60a12 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: #ffd60a9e !important;
    background: #ffd60a24 !important;
    box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.08);
}

.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary:active {
    color: #17140a !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, #ffd60a 0%, #ff9f0a 100%) !important;
   box-shadow: 0 7px 16px -8px rgba(255, 159, 10, 0.6);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumb li {
    margin-bottom: 6px;
}

.breadcrumb .btn {
    min-height: 38px;
    border-radius: 10px;
    padding: 8px 14px;
}

.breadcrumb .btn.text-aqua {
    color: #3f67c0 !important;
    background: #edf3ff;
    border: 1px solid #d8e6ff;
}

.breadcrumb .btn.text-aqua:hover,
.breadcrumb .btn.text-aqua:focus {
    color: #2e57af !important;
    background: #e3edff;
    border-color: #bfd4fb;
}

.breadcrumb .btn.badge-secondary.text-white {
    color: #ffffff !important;
    border: 0;
    background: #7397f5;
    box-shadow: 0 8px 14px rgba(115, 151, 245, 0.2);
}

.breadcrumb .btn.badge-secondary.text-white:hover,
.breadcrumb .btn.badge-secondary.text-white:focus {
    color: #ffffff !important;
    background: linear-gradient(90deg, #678be8 0%, #81abf2 100%);
}

.btns2 {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #ffffff14;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff0d;
    color: #c7c7cc;
    margin-right: 8px;
}

.btns2:hover {
    background: #ffd60a1f;
    border-color: #ffd60a4d;
    color: #ffd60a;
}

.badge {
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid transparent;
}

.badge-primary,
.badge-success,
.badge-info {
    background: #ffd60a1f;
    color: #ffd60a;
    border-color: #ffd60a42;
}

.badge-secondary,
.badge-dark {
    background: #eef2f7;
    color: #3f4b5f;
    border-color: #d8e0ea;
}

.badge-danger {
    background: #feefef;
    color: #d25461;
    border-color: #f6d3d8;
}

.badge-warning {
    background: #fff7e8;
    color: #a36a15;
    border-color: #f6e0b9;
}

.badge.text-primary {
    color: #ffd60a !important;
    background: #ffd60a1f;
    border-color: #ffd60a42;
}

.badge.text-dark {
    color: #c7c7cc !important;
    background: #ffffff0f;
    border-color: #ffffff14;
}

.pagination > li > a,
.pagination > li > span {
    border-radius: 10px;
    margin: 0 3px;
    border: 1px solid var(--admin-border);
    color: #31508a;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #25457d;
    background: #eaf1ff;
    border-color: #d5e3fb;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background: linear-gradient(90deg, #7397f5 0%, #8cb7ff 100%);
    border-color: transparent;
    color: #ffffff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
    border: 1px solid var(--admin-border) !important;
    background: #ffffff !important;
    color: #31508a !important;
    margin: 0 3px !important;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:focus,
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    border-color: #d5e3fb !important;
    background: #eaf1ff !important;
    color: #25457d !important;
    box-shadow: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:focus {
    border-color: transparent !important;
    background: linear-gradient(90deg, #7397f5 0%, #8cb7ff 100%) !important;
    color: #ffffff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus {
    opacity: 0.55;
    cursor: not-allowed !important;
    border-color: #e5ebf3 !important;
    background: #f7f9fc !important;
    color: #95a3bb !important;
}

.text-primary,
.text-aqua {
    color: #ffd60a !important;
}

.text-success {
    color: #0ea57f !important;
}

.text-danger {
    color: #d25461 !important;
}

.text-warning {
    color: #b07418 !important;
}

.text-dark {
    color: #c7c7cc !important;
}

.text-black-50 {
    color: #c7c7cc !important;
}

.bg-primary {
    background: linear-gradient(90deg, #7397f5 0%, #8cb7ff 100%) !important;
}

.bg-success {
    background: linear-gradient(90deg, #63bfa8 0%, #88d2c2 100%) !important;
}

.bg-warning {
    background: linear-gradient(90deg, #f2ca8c 0%, #f7ddae 100%) !important;
}

.bg-danger {
    background: linear-gradient(90deg, #ed9ba5 0%, #e7aab6 100%) !important;
}

.bg-secondary,
.bg-info,
.bg-dark {
    background: linear-gradient(90deg, #47526a 0%, #2a3547 100%) !important;
}

.dashboard-welcome .widget.card.card-primary {
    background: #141417 !important;
    color: inherit !important;
    border-top: 3px solid #ffd60a;
}

.dashboard-welcome .widget.card.card-success {
    background: #141417 !important;
    color: inherit !important;
    border-top: 3px solid #30d158;
}

.dashboard-welcome .widget.card.card-danger {
    background: #141417 !important;
    color: inherit !important;
    border-top: 3px solid #ff453a;
}

.btn.text-aqua {
    color: #31508a !important;
    background: #edf3ff;
    border: 1px solid var(--admin-border);
}

.btn.text-aqua:hover,
.btn.text-aqua:focus {
    color: #25457d !important;
    background: #dfeaff;
}

.btn.badge-secondary.text-white {
    color: #ffffff !important;
}

.login-tabib.login-premium {
    padding: 30px 18px;
    background-color: transparent !important;
    background-image: none !important;
}

.auth-shell {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--admin-border);
    box-shadow: 0 24px 52px rgba(42, 53, 71, 0.14);
    min-height: 620px;
    background: #141417;
}

.auth-side {
    position: relative;
    padding: 44px;
    background: linear-gradient(180deg, #17171a 0%, #101013 100%);
    color: var(--admin-text);
    border-right: 1px solid var(--admin-border);
}

.auth-side::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(93, 135, 255, 0.18) 0%, rgba(93, 135, 255, 0) 72%);
}

.auth-side::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    left: -100px;
    bottom: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(73, 190, 255, 0.16) 0%, rgba(73, 190, 255, 0) 72%);
}

.auth-side-inner {
    position: relative;
    z-index: 2;
}

.auth-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(140deg, #ffd60a 0%, #ff9f0a 100%);
    padding: 11px;
    margin-bottom: 20px;
    box-shadow: 0 14px 30px -10px rgba(255, 159, 10, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.auth-side h3 {
    font-size: 32px;
    line-height: 1.28;
    margin-bottom: 14px;
    color: #ededf0;
}

.auth-side p {
    color: #8e8e93;
    line-height: 1.7;
    font-size: 15px;
    max-width: 390px;
}

.auth-points {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.auth-point {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #ffffff0b;
    border: 1px solid #ffffff14;
    box-shadow: 0 8px 20px rgba(42, 53, 71, 0.06);
    width: fit-content;
    color: #c7c7cc;
}

.auth-point i {
    color: var(--admin-primary);
}

.auth-panel {
    padding: 38px;
    background: linear-gradient(180deg, #131316 0%, #0d0d10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-tabib.login-premium .login-main {
    width: 100%;
    max-width: 430px;
    margin: 0;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(42, 53, 71, 0.1);
    background: #18181cd1;
    padding: 32px 30px;
}

.auth-form-head {
    margin-bottom: 18px;
}

.auth-chip {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #ffd60a3d;
    background: #ffd60a1a;
    color: #ffd60a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.login-tabib.login-premium .theme-form h4 {
    margin-bottom: 7px;
    color: var(--admin-text);
    font-size: 27px;
    font-weight: 700;
}

.auth-form-head p {
    color: var(--admin-muted);
    margin-bottom: 0;
}

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

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffd60a;
    font-size: 14px;
}

.login-tabib.login-premium .theme-form .form-group input {
    background-color: #ffffff0b;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    height: 46px;
    padding-left: 40px;
}

.login-tabib.login-premium .theme-form .form-group input:focus {
    border-color: #ffd60a8c;
    box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}

.auth-submit {
    height: 48px;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

@media only screen and (max-width: 1199px) {
    .brand-subtitle,
    .brand-title-wrap,
    .head-title {
        display: none;
    }

    .header .top-head {
        margin-right: 12px;
        margin-left: 12px;
        padding: 10px 14px;
    }

    .welcome-showcase .card-body {
        padding: 22px;
    }

    .welcome-content h4 {
        font-size: 27px;
    }

    .welcome-orb {
        width: 120px;
        height: 120px;
        right: 14px;
        bottom: -22px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
        min-height: auto;
    }

    .auth-side {
        padding: 30px 26px;
        border-right: 0;
        border-bottom: 1px solid var(--admin-border);
    }

    .auth-side h3 {
        font-size: 27px;
    }

    .auth-panel {
        padding: 24px;
    }
}

@media only screen and (max-width: 767px) {
    .content-body .container-fluid {
        padding-top: 20px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .card-header,
    .card-body {
        padding: 16px;
    }

    .menu-caption {
        padding-right: 20px;
        padding-left: 20px;
    }

    .navigation .main-menu .has-submenu {
        padding-right: 8px;
        padding-left: 8px;
    }

    .welcome-showcase .card-body {
        padding: 18px;
    }

    .welcome-content h4 {
        font-size: 23px;
    }

    .welcome-content p {
        line-height: 1.55;
    }

    .welcome-tags {
        gap: 8px;
    }

    .welcome-tags span {
        font-size: 11px;
        padding: 7px 10px;
    }

    .welcome-orb {
        display: none;
    }

    .kpi-card .card-body {
        padding: 18px;
    }

    .stat-value {
        font-size: 25px;
    }

    .login-tabib.login-premium {
        padding: 12px;
    }

    .auth-shell {
        border-radius: 14px;
    }

    .auth-side {
        padding: 24px 18px;
    }

    .auth-side p {
        font-size: 14px;
        line-height: 1.6;
    }

    .auth-points {
        margin-top: 20px;
        gap: 10px;
    }

    .auth-point {
        width: 100%;
    }

    .auth-panel {
        padding: 14px;
    }

    .login-tabib.login-premium .login-main {
        padding: 22px 16px;
        border-radius: 14px;
    }

    .login-tabib.login-premium .theme-form h4 {
        font-size: 23px;
    }
}
