/* Modern Admin Panel - Corporate & Elegant Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --bg-body: #09090b;
    --bg-card: rgba(23, 23, 28, 0.7);
    --bg-sidebar: rgba(12, 12, 15, 0.95);
    --bg-hover: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --primary: #d4af37;
    /* Gold */
    --primary-hover: #b5952f;
    --secondary: #6366f1;
    /* Indigo */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --text-dark: #000000;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 12px;
    --radius-lg: 16px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.05), transparent 25%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.5;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--bg-sidebar);
    border-right: var(--glass-border);
    padding: 24px;
    z-index: 50;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    letter-spacing: -0.5px;
}

.sidebar-brand i {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.nav-menu {
    list-style: none;
    flex: 1;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-main);
    transform: translateX(4px);
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), transparent);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Main Content */
.main-content,
.main {
    margin-left: 260px;
    padding: 32px 40px;
    min-height: 100vh;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.btn-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    background: rgba(16, 185, 129, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Standard Card */
.card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.card-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), transparent);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.card-body {
    padding: 30px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: var(--glass-bg);
}

.stat-icon.purple {
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.stat-icon.yellow {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(to bottom, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tables */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.35) rgba(255, 255, 255, 0.02);
}

.table-container::-webkit-scrollbar {
    height: 6px;
}

.table-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.table-container::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.35);
    border-radius: 3px;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    padding: 16px 24px;
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: var(--glass-border);
}

.table td {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
    color: var(--text-main);
    font-size: 0.95rem;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.table-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.05);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Forms */
.form-grid,
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.form-row-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    display: grid;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 10, 12, 0.6);
    /* Darker background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(10, 10, 12, 0.8);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a1a1aa' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

select.form-control option {
    background-color: #09090b;
    color: var(--text-main);
    padding: 10px;
}

.multi-select-native {
    display: none;
}

.multi-select {
    position: relative;
}

.multi-select-trigger {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.multi-select-trigger::after {
    content: '\25BE';
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 10px;
    flex-shrink: 0;
}

.multi-select-trigger:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(10, 10, 12, 0.8);
}

.multi-select-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 650;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 420px;
}

.multi-select-panel.is-open {
    display: block;
}

.multi-select-header {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.95);
}

.multi-select-search {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.88rem;
}

.multi-select-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.multi-select-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.multi-select-action {
    min-height: 34px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.09);
    color: var(--primary);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.multi-select-action:hover {
    background: rgba(212, 175, 55, 0.16);
    border-color: rgba(212, 175, 55, 0.55);
}

.multi-select-meta {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.multi-select-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px;
}

.multi-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-main);
    font-size: 0.88rem;
}

.multi-select-option-label {
    flex: 1;
    min-width: 0;
}

.multi-select-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.multi-select-option input {
    accent-color: var(--primary);
}

.multi-select-option .badge {
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary);
}

.multi-select-option-meta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 96px;
}

.multi-select-popular {
    font-size: 0.64rem;
    font-weight: 600;
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 999px;
    padding: 2px 7px;
    line-height: 1.1;
}

.multi-select-empty {
    padding: 12px 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    border: var(--glass-border);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: var(--primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.is-pending-delete img {
    filter: grayscale(1) brightness(0.42);
}

.gallery-item.is-pending-delete .gallery-actions {
    display: none;
}

.gallery-delete-state {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(8, 10, 14, 0.62);
    color: #fff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.gallery-delete-state button {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    padding: 6px 12px;
    font: inherit;
}

.gallery-delete-state button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
}

.btn-delete-img {
    background: rgba(239, 68, 68, 0.8);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
}

.btn-delete-img:hover {
    background: #ef4444;
}

/* Custom Checkbox/Radio */
.toggle-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.toggle-label {
    cursor: pointer;
    position: relative;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.2s;
    user-select: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-label:hover {
    background: rgba(255, 255, 255, 0.08);
}

.toggle-label input {
    margin-right: 8px;
    accent-color: var(--primary);
}

.toggle-label:has(input:checked) {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* Login Page Styles */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05), transparent 40%);
}

.login-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color 0.3s;
}

.input-icon-wrapper .form-control {
    padding-left: 45px;
}

.input-icon-wrapper:focus-within i {
    color: var(--primary);
}

/* Settings & Additional Styles */
.preview-img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: var(--radius-md);
    margin: 15px 0;
    border: var(--glass-border);
    box-shadow: var(--shadow-md);
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.form-check:hover {
    background: rgba(255, 255, 255, 0.05);
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-check label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-main);
    flex: 1;
}

/* Utilities */
.text-right {
    text-align: right;
}

.mt-4 {
    margin-top: 1.5rem;
}

.gap-2 {
    gap: 0.5rem;
}

/* Mobile Menu Button - Always Hidden on Desktop */
.mobile-menu-btn {
    display: none;
}

/* Mobile Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 40;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: block;
        pointer-events: none;
    }

    .sidebar-overlay.active {
        pointer-events: auto;
    }

    .main-content,
    .main {
        margin-left: 0;
        padding: 20px;
        padding-bottom: 80px; /* Space for mobile menu button */
    }

    .form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .form-row-3 {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: linear-gradient(135deg, var(--primary), var(--primary-hover));
        color: #000;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 100;
        box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
        font-size: 1.4rem;
        border: none;
        cursor: pointer;
        transition: all 0.3s;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:active {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    }

    .mobile-menu-btn.active {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        box-shadow: 0 5px 25px rgba(239, 68, 68, 0.4);
    }

    .mobile-menu-btn.active i::before {
        content: "\f00d"; /* Font Awesome times icon */
    }

    /* Page Header Mobile */
    .page-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .page-title {
        font-size: 1.5rem;
    }

    /* Close button inside sidebar for mobile */
    .sidebar-close {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.2);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: #ef4444;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 1rem;
    }

    .sidebar-close:hover {
        background: rgba(239, 68, 68, 0.2);
    }
}

/* Hide sidebar close on desktop */
@media (min-width: 993px) {
    .sidebar-close {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   B8-B12 Hardening Layer (Mobile UX + Motion + Responsive Tables)
-------------------------------------------------------------------------- */

:root {
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-sidebar: 400;
    --z-modal: 500;
    --z-action-sheet: 600;
    --z-toast: 700;
    --z-fab: 800;
}

.sidebar {
    z-index: var(--z-sidebar);
}

.sidebar-overlay {
    z-index: var(--z-overlay);
}

.mobile-menu-btn {
    z-index: var(--z-fab);
}

.multi-select-panel {
    z-index: var(--z-action-sheet);
}

/* Touch-friendly controls */
button,
.btn,
a.btn,
[role="button"],
input[type="checkbox"],
input[type="radio"],
select,
.toggle-label,
.btn-delete-img,
.mobile-menu-btn {
    touch-action: manipulation;
}

@media (max-width: 992px) {
    .btn,
    .btn-sm {
        min-height: 44px;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: 20px;
        height: 20px;
    }
}

/* iOS zoom guard */
@media (max-width: 768px) {
    .form-control,
    input,
    select,
    textarea {
        font-size: 16px;
    }
}

/* Disabled/loading states */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

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

/* Alert entry motion */
.alert,
div[style*="rgba(16, 185, 129"],
div[style*="rgba(239, 68, 68"] {
    animation: alertSlideIn 0.35s ease-out;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional skeleton utility */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Compact forms on mobile */
@media (max-width: 768px) {
    .card {
        margin-bottom: 16px;
    }

    .card-header {
        padding: 14px 16px;
    }

    .card-body {
        padding: 16px;
    }

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

    .main-content,
    .main {
        padding: 12px;
        padding-bottom: 80px;
    }

    .filter-section {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .filter-section select {
        min-width: 0 !important;
        width: 100% !important;
    }

    .bulk-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bulk-actions select {
        min-width: 0;
        width: 100%;
    }

    .bulk-actions .selected-count {
        margin-left: 0;
        text-align: center;
    }

    .ozellik-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .ozellik-row .form-group,
    .ozellik-row button {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .toggle-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .toggle-label {
        justify-content: center;
        text-align: center;
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .ozellik-row {
        grid-template-columns: 1fr !important;
    }

    input[type="file"].form-control {
        min-height: 60px;
        padding: 20px 16px;
        border-style: dashed;
        border-width: 2px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .preview-img {
        max-height: 120px;
    }
}

/* Responsive stacked tables */
@media (max-width: 768px) {
    .table.responsive-stack thead {
        display: none;
    }

    .table.responsive-stack,
    .table.responsive-stack tbody,
    .table.responsive-stack tr,
    .table.responsive-stack td {
        display: block;
        width: 100%;
    }

    .table.responsive-stack tr {
        background: var(--bg-card);
        border: var(--glass-border);
        border-radius: var(--radius-md);
        padding: 14px;
        margin-bottom: 12px;
        position: relative;
    }

    .table.responsive-stack td {
        border: none;
        padding: 5px 0;
        text-align: left;
    }

    .table.responsive-stack td[data-label] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .table.responsive-stack td[data-label]::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        min-width: 88px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .table.responsive-stack td.checkbox-cell {
        position: absolute;
        top: 14px;
        left: 14px;
        width: auto;
        padding: 0;
    }

    .table.responsive-stack td.actions {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .table.responsive-stack td.actions[data-label] {
        display: block;
    }

    .table.responsive-stack td.actions[data-label]::before {
        display: block;
        margin-bottom: 8px;
    }

    .table.responsive-stack td[data-label="Sıra"],
    .table.responsive-stack td[data-label="Yaş"],
    .table.responsive-stack td[data-label="Konum"],
    .table.responsive-stack td[data-label="Ajans"] {
        display: none;
    }

    .table.responsive-stack td[data-label="Resim"]::before {
        display: none;
    }

    .table.responsive-stack td.actions .desktop-actions {
        display: none !important;
    }

    .table.responsive-stack .action-sheet-trigger {
        display: inline-flex;
        width: 100%;
        min-height: 48px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid rgba(212, 175, 55, 0.25);
        color: var(--primary);
        font-weight: 600;
        font-size: 0.9rem;
        border-radius: 10px;
    }
}

@media (max-width: 1400px) {
    .table th:nth-child(2),
    .table td[data-label="Sıra"] {
        display: none;
    }
}

.action-sheet-trigger {
    display: none;
}

/* Action sheet */
.action-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: var(--z-action-sheet);
}

.action-sheet-overlay.active {
    display: block;
}

.action-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: calc(var(--z-action-sheet) + 1);
    background: #18181b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px 20px 0 0;
    padding: 16px;
}

.action-sheet.active {
    transform: translateY(0);
}

.action-sheet::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.2);
}

.action-sheet-title {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.action-sheet-item {
    width: 100%;
    min-height: 52px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    cursor: pointer;
    text-decoration: none;
}

.action-sheet-item.danger {
    color: var(--danger);
}

.action-sheet-cancel {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 768px) {
    .stat-card:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .stat-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}
/* --------------------------------------------------------------------------
   SaaS UI Master Plan V3 Overrides
-------------------------------------------------------------------------- */
:root {
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-pill: 50px;

    --bg-body: #09090b;
    --bg-card: #17171c;
    --bg-card-inner: #1e1e24;
    --bg-sidebar: #0c0c0f;
    --bg-header: rgba(9, 9, 11, 0.85);
    --bg-hover: rgba(255, 255, 255, 0.04);
    --bg-input: #0e0e12;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-light: rgba(255, 255, 255, 0.1);
    --border-color-emphasis: rgba(255, 255, 255, 0.15);

    --font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.6875rem;
    --font-size-sm: 0.8125rem;
    --font-size-base: 0.875rem;
    --font-size-md: 0.9375rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.375rem;
    --font-size-2xl: 1.75rem;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 28px;
    --space-8: 32px;

    --header-height: 64px;

    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    --border: var(--border-color);
    --gold: var(--primary);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    background-color: var(--bg-body);
    background-image:
        radial-gradient(circle at 14% 20%, rgba(99, 102, 241, 0.12), transparent 27%),
        radial-gradient(circle at 90% 4%, rgba(212, 175, 55, 0.08), transparent 30%);
}

.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: var(--space-6) var(--space-4);
    backdrop-filter: none;
}

.sidebar-brand {
    margin-bottom: var(--space-6);
    padding: 0 var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-main);
    font-size: var(--font-size-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.sidebar-brand i {
    color: var(--primary);
    filter: none;
}

.sidebar-version {
    margin-left: auto;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    opacity: 0.55;
    font-weight: 500;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    flex: 1;
    min-height: 0;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.nav-section-title {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    opacity: 0.62;
    padding: 0 var(--space-3);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-item {
    margin: 0;
}

.nav-link {
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    border: 1px solid transparent;
    transform: none !important;
}

.nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.05);
    transform: none;
}

.nav-link.active {
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-left-width: 1px;
}

.nav-link.active::before {
    display: none;
}

.nav-link i {
    font-size: 0.95rem;
}

.nav-link:hover i {
    transform: none;
}

.sidebar-footer {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.sidebar-footer .nav-link {
    justify-content: flex-start;
}

.nav-link-danger {
    color: #f87171;
}

.nav-link-danger:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

.sidebar-agency-card {
    margin-top: var(--space-4);
    padding: var(--space-3);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--radius-md);
}

.sidebar-agency-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-2);
}

.sidebar-agency-meta {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.4;
}

.sidebar-agency-usage {
    font-weight: 600;
}

.sidebar-agency-usage.ok {
    color: #34d399;
}

.sidebar-agency-usage.warn {
    color: #f87171;
}

.main-content,
.main {
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: var(--space-6) var(--space-8) var(--space-5);
}

.top-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-5);
    margin-bottom: var(--space-6);
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.breadcrumb-item {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 500;
}

.breadcrumb-sep {
    font-size: 0.5rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.header-search {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 12px 8px 34px;
    width: 220px;
    transition: width var(--transition-base), border-color var(--transition-base);
}

.header-search:focus-within {
    border-color: var(--primary);
    width: 300px;
}

.header-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.header-search input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: var(--font-size-sm);
}

.header-search input::placeholder {
    color: var(--text-muted);
}

.header-user {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #09090b;
    font-size: var(--font-size-xs);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.15;
}

.user-role {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.page-header {
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.page-title {
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
}

.page-title i {
    font-size: 0.82em;
    color: var(--text-muted);
    opacity: 0.65;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-6);
    backdrop-filter: none;
    box-shadow: none;
}

.card-header {
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.card-title {
    margin: 0;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.card-body {
    padding: var(--space-5);
}

.card-subtle {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

.btn {
    border-radius: var(--radius-xs);
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: 10px 14px;
    letter-spacing: 0;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn i {
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #09090b;
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: none;
    box-shadow: none;
}

.btn-success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    background: rgba(16, 185, 129, 0.18);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.16);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-color-light);
    color: var(--text-main);
}

.btn-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.btn-warning:hover {
    background: rgba(245, 158, 11, 0.18);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-hover);
    color: var(--text-main);
    border-color: var(--border-color-light);
}

.btn-sm {
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: 11px 16px;
}

.btn-group {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.alert {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-5);
    border: 1px solid transparent;
    animation: alertSlideIn 0.35s ease-out;
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.15);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.16);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.16);
}

.alert-info {
    background: rgba(59, 130, 246, 0.08);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.16);
}

.alert-dismiss {
    margin-left: auto;
    background: transparent;
    border: none;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
}

.alert-dismiss:hover {
    opacity: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0;
    position: relative;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-card.purple::before {
    background: #818cf8;
}

.stat-card.green::before {
    background: #34d399;
}

.stat-card.yellow::before {
    background: var(--primary);
}

.stat-card.orange::before {
    background: #fb923c;
}

.stat-card-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-5) var(--space-4);
}

.stat-meta {
    min-width: 0;
}

.stat-kicker {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.stat-value {
    margin: 0;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.stat-info h3 {
    margin: 0;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-main);
    background: none;
    -webkit-text-fill-color: unset;
    font-variant-numeric: tabular-nums;
}

.stat-info p {
    margin-top: var(--space-2);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: none !important;
}

.stat-icon.purple {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.stat-icon.yellow {
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary);
}

.stat-icon.orange {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.stat-card-footer {
    border-top: 1px solid var(--border-color);
    padding: var(--space-3) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.015);
    font-size: var(--font-size-xs);
}

.stat-trend-up {
    color: #34d399;
}

.stat-trend-down {
    color: #f87171;
}

.stat-trend-label {
    color: var(--text-muted);
}

.tier-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
}

.template-actions-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    flex-wrap: wrap;
}

.color-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-3);
}

.color-item label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.color-input-row {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: var(--space-2);
    align-items: center;
}

.color-input-row input[type="color"] {
    width: 46px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: transparent;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    position: relative;
    overflow: hidden;
}

.tier-indicator {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
}

.tier-platin .tier-indicator {
    background: var(--primary);
}

.tier-gold .tier-indicator {
    background: #f59e0b;
}

.tier-silver .tier-indicator {
    background: #94a3b8;
}

.tier-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 600;
}

.tier-value {
    display: block;
    margin-top: var(--space-1);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-main);
}

.tier-icon {
    margin-left: auto;
    opacity: 0.35;
}

.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.chart-card .card-header {
    padding: var(--space-4) var(--space-5);
}

.chart-card .card-header h3 {
    margin: 0;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-card .card-body {
    padding: var(--space-4);
}

.chart-container {
    position: relative;
    height: 280px;
}

.chart-container.small {
    height: 220px;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    padding: 10px 16px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 10px 16px;
    font-size: var(--font-size-sm);
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.table tr:last-child td {
    border-bottom: none;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border-color);
}

.table-toolbar-left,
.table-toolbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.table-title {
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-main);
}

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

.table-search {
    position: relative;
}

.table-search input {
    width: 210px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: var(--font-size-sm);
    padding: 7px 12px 7px 32px;
}

.table-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

.filter-select,
.table-filters select {
    min-width: 130px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: var(--font-size-sm);
    padding: 7px 28px 7px 12px;
    appearance: none;
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    border-top: 1px solid var(--border-color);
}

.pagination-info {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    cursor: pointer;
}

.pagination-btn.active {
    background: var(--primary);
    color: #09090b;
    border-color: var(--primary);
}

.pagination-btn:hover:not(:disabled):not(.active) {
    border-color: var(--border-color-light);
    color: var(--text-main);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.pagination-ellipsis {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.filter-toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
}

.filter-label {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.bulk-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    margin-bottom: var(--space-4);
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.bulk-actions select {
    min-width: 200px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: var(--font-size-sm);
    padding: 8px 10px;
}

.bulk-actions .selected-count {
    margin-left: auto;
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.select-all-wrapper {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.checkbox-cell {
    width: 42px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.24);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.24);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.24);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.24);
}

.badge-gold {
    background: rgba(212, 175, 55, 0.14);
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.24);
}

.badge-neutral {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-expired {
    color: #f87171;
    font-weight: 600;
}

.status-expiring {
    color: #f59e0b;
    font-weight: 600;
}

.muted-dash {
    color: var(--text-muted);
}

.action-buttons,
.desktop-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.warning-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-5);
}

.warning-card h3 {
    margin: 0 0 var(--space-3);
    color: #fbbf24;
    font-size: var(--font-size-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.warning-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.warning-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.warning-item img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.warning-item .info {
    flex: 1;
    min-width: 0;
}

.warning-item .info strong {
    display: block;
}

.warning-item .info small {
    color: var(--text-muted);
}

.warning-item .days {
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-pill);
    padding: 4px 9px;
}

.days.urgent,
.days.expired {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.days.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.expired-row {
    background: rgba(239, 68, 68, 0.05) !important;
}

.expiring-row {
    background: rgba(245, 158, 11, 0.05) !important;
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    margin-bottom: var(--space-2);
    color: var(--text-muted);
    font-size: var(--font-size-md);
    font-weight: 500;
}

.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    padding: 10px 14px;
    font-size: var(--font-size-base);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
    background: var(--bg-input);
}

.form-control-color {
    height: 45px;
    padding: 5px;
    cursor: pointer;
}

.form-help {
    display: block;
    margin-top: var(--space-2);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.location-list-trigger {
    margin-top: var(--space-2);
}

.agency-province-modal[hidden] {
    display: none;
}

.agency-province-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(6px);
}

.agency-province-dialog {
    width: min(460px, 100%);
    max-height: min(620px, calc(100vh - 48px));
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 18px;
    background: #111113;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.agency-province-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agency-province-modal-header h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1rem;
}

.agency-province-modal-close {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.agency-province-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 420px;
    overflow-y: auto;
    padding: 18px 20px 20px;
}

.agency-province-list span {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    padding: 7px 12px;
    font-size: 0.86rem;
    font-weight: 700;
}

body.modal-open {
    overflow: hidden;
}

.form-row {
    gap: var(--space-4);
}

.form-row-3 {
    gap: var(--space-4);
}

.toggle-label {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.toggle-label.highlight {
    background: rgba(212, 175, 55, 0.16);
    border-color: rgba(212, 175, 55, 0.35);
}

.section-heading {
    margin: 0 0 var(--space-3);
    color: var(--primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.settings-tabs {
    display: flex;
    gap: 2px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-1);
    margin-bottom: var(--space-6);
}

.tab-btn {
    flex: 1;
    border: none;
    border-radius: var(--radius-sm);
    padding: var(--space-3) var(--space-4);
    background: transparent;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.tab-btn.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.list-grid-box {
    display: grid;
    gap: var(--space-2);
    max-height: 320px;
    overflow: auto;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.list-grid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
}

.list-grid-row-main {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.list-grid-row-title strong {
    display: block;
}

.list-grid-row-title small {
    display: block;
    color: var(--text-muted);
}

.list-grid-row-side {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ozellik-row {
    display: grid;
    grid-template-columns: 1fr 1fr 80px 40px;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    align-items: end;
    background: rgba(255, 255, 255, 0.02);
    padding: var(--space-3);
    border-radius: var(--radius-sm);
}

.ozellik-row .form-group {
    margin-bottom: 0;
}

.details-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: var(--space-5);
    margin-top: var(--space-4);
}

.details-box-title {
    margin: 0 0 var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-feature-wrap {
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.existing-feature-list {
    margin-bottom: var(--space-4);
}

.existing-feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.profile-main-image {
    margin-bottom: var(--space-3);
}

.profile-main-image .gallery {
    margin-bottom: 0;
}

.table-img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state {
    text-align: center;
    padding: 42px var(--space-5);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: var(--space-2);
    opacity: 0.4;
    display: block;
}

.admin-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding: var(--space-4) 0 0;
    color: var(--text-muted);
    opacity: 0.62;
    font-size: var(--font-size-xs);
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
}

.login-body {
    background-image:
        radial-gradient(circle at 18% 30%, rgba(212, 175, 55, 0.1), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.12), transparent 34%);
}

.login-card {
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.login-error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: var(--space-5);
    text-align: center;
    font-size: var(--font-size-sm);
}

.w-100 {
    width: 100%;
}

.inline-form {
    display: inline;
}

.hidden-form {
    display: none;
}

.ml-auto {
    margin-left: auto;
}

.form-group.compact {
    margin-bottom: 0;
}

.form-actions {
    margin-bottom: 50px;
}

.detail-toggle-wrap {
    margin-top: 10px;
}

.existing-feature-title {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.existing-feature-item-value {
    font-size: 0.95rem;
}

.existing-feature-delete {
    padding: 5px 10px;
}

.gallery-top-gap {
    margin-top: 15px;
}

.gallery-bottom-gap {
    margin-bottom: 15px;
}

.code-textarea {
    font-family: Consolas, 'Courier New', monospace;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .main-content,
    .main {
        margin-left: 0;
        padding: var(--space-4);
        padding-bottom: 84px;
    }

    .top-header {
        padding: 0 var(--space-3);
        margin-bottom: var(--space-4);
    }

    .header-search {
        display: none;
    }

    .user-info {
        display: none;
    }

    .sidebar {
        padding-top: 52px;
    }

    .settings-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab-btn {
        min-width: 130px;
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-grid,
    .tier-stats,
    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .table-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .table-toolbar-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .table-search input {
        width: 100%;
    }

    .table-pagination {
        flex-direction: column;
        align-items: flex-start;
    }

    .bulk-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bulk-actions .selected-count {
        margin-left: 0;
        text-align: center;
    }

    .ozellik-row {
        grid-template-columns: 1fr 1fr;
    }

    .admin-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .ozellik-row {
        grid-template-columns: 1fr;
    }

    .breadcrumb-item,
    .breadcrumb-sep {
        font-size: var(--font-size-xs);
    }
}

.form-control-compact {
    min-width: 86px;
    max-width: 112px;
    padding: 8px 10px;
    font-size: 0.82rem;
}

.quick-access-inline {
    align-items: center;
    gap: 6px;
}

.quick-access-open {
    min-width: 38px;
}

.agency-quick-modal[hidden] {
    display: none;
}

.agency-quick-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.agency-quick-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 4, 8, 0.72);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.agency-quick-dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(760px, calc(100vh - 44px));
    overflow: auto;
    border: 1px solid rgba(234, 179, 8, 0.28);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(234, 179, 8, 0.16), transparent 32%),
        linear-gradient(145deg, rgba(20, 21, 29, 0.98), rgba(8, 9, 14, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 22px;
}

.agency-quick-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.agency-quick-eyebrow {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.agency-quick-header h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.25rem;
}

.agency-quick-name {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.agency-quick-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.agency-quick-form {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.agency-quick-form label,
.agency-quick-result label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.agency-quick-duration-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.agency-quick-current {
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.26);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(234, 179, 8, 0.045)),
        rgba(255, 255, 255, 0.035);
}

.agency-quick-current-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.agency-quick-current-top strong {
    color: var(--text-muted);
    font-size: 0.86rem;
    text-align: right;
}

.agency-quick-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #86efac;
    font-size: 0.8rem;
    font-weight: 800;
}

.agency-quick-current p {
    margin: 0 0 12px;
    color: var(--text-muted);
    line-height: 1.55;
}

.agency-quick-secret {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.agency-quick-current-url {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.agency-quick-current-url span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.agency-quick-secret span {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.agency-quick-secret code {
    color: var(--text-main);
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}

.agency-quick-link-btn,
.agency-passkey-toggle {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 800;
    cursor: pointer;
}

.agency-quick-link-btn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.agency-quick-link-btn {
    padding: 7px 10px;
}

.agency-quick-passkey-form {
    margin-top: 12px;
}

.agency-quick-passkey-form .btn {
    width: 100%;
    justify-content: center;
}

.agency-quick-result {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(16, 185, 129, 0.24);
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.06);
}

.agency-quick-error {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
    font-weight: 700;
}

.agency-quick-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 12px;
}

.agency-passkey-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.agency-passkey-toggle {
    align-self: stretch;
    padding: 0 10px;
}

.agency-quick-copy-message {
    min-height: 150px;
    margin-top: 12px;
    resize: vertical;
    line-height: 1.55;
}

.agency-quick-copy {
    width: 100%;
    margin-top: 12px;
    justify-content: center;
}

.quick-access-result {
    border-color: rgba(16, 185, 129, 0.28);
}

.agency-passkey-display,
.agency-passkey-input {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-align: center;
}

@media (max-width: 640px) {
    .agency-quick-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .agency-quick-dialog {
        max-height: calc(100vh - 24px);
        padding: 18px;
        border-radius: 16px;
    }

    .agency-quick-duration-row,
    .agency-quick-grid,
    .agency-quick-current-top,
    .agency-quick-current-url,
    .agency-quick-secret,
    .agency-passkey-field {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .agency-quick-current-top strong {
        text-align: left;
    }
}

body.agency-panel.agency-theme-anubis {
    --bg-body: #050604;
    --bg-sidebar: #040605;
    --bg-header: rgba(5, 7, 6, 0.92);
    --bg-card: rgba(8, 18, 15, 0.86);
    --bg-card-inner: rgba(13, 27, 23, 0.88);
    --bg-hover: rgba(204, 164, 82, 0.08);
    --bg-input: rgba(3, 9, 8, 0.82);
    --primary: #c9a45a;
    --primary-hover: #e2c879;
    --secondary: #006d75;
    --text-main: #f4ead0;
    --text-muted: #a99f88;
    --border: rgba(201, 164, 90, 0.22);
    --border-color: rgba(201, 164, 90, 0.16);
    --border-color-light: rgba(201, 164, 90, 0.22);
    background-image:
        linear-gradient(90deg, rgba(201, 164, 90, 0.07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 109, 117, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 12% 8%, rgba(201, 164, 90, 0.17), transparent 25%),
        radial-gradient(circle at 86% 18%, rgba(0, 109, 117, 0.2), transparent 28%),
        linear-gradient(135deg, rgba(0, 109, 117, 0.08), transparent 45%, rgba(201, 164, 90, 0.07));
    background-size: 96px 96px, 96px 96px, auto, auto, auto;
}

body.agency-panel.agency-theme-anubis .sidebar {
    width: 280px;
    padding: 18px 14px;
    background:
        linear-gradient(180deg, rgba(5, 12, 10, 0.98), rgba(2, 5, 5, 0.99)),
        radial-gradient(circle at 50% 0%, rgba(201, 164, 90, 0.18), transparent 42%);
    border-right: 1px solid rgba(201, 164, 90, 0.24);
    box-shadow: inset -1px 0 0 rgba(0, 109, 117, 0.28), 16px 0 42px rgba(0, 0, 0, 0.24);
}

body.agency-panel.agency-theme-anubis .main-content,
body.agency-panel.agency-theme-anubis .main {
    margin-left: 280px;
}

body.agency-panel.agency-theme-anubis .sidebar-brand {
    min-height: 76px;
    margin-bottom: 24px;
    padding: 14px 12px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
        "mark name"
        "mark sub";
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    border: 1px solid rgba(201, 164, 90, 0.24);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(201, 164, 90, 0.1), rgba(0, 109, 117, 0.08)),
        rgba(3, 8, 7, 0.72);
    box-shadow: inset 0 1px 0 rgba(244, 234, 208, 0.05), 0 14px 30px rgba(0, 0, 0, 0.25);
}

body.agency-panel.agency-theme-anubis .sidebar-brand-mark {
    grid-area: mark;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d8bd72;
    background: radial-gradient(circle, rgba(201, 164, 90, 0.18), rgba(0, 109, 117, 0.08) 62%, transparent 63%);
    border: 1px solid rgba(201, 164, 90, 0.28);
}

body.agency-panel.agency-theme-anubis .sidebar-brand-mark svg {
    width: 30px;
    height: 26px;
}

body.agency-panel.agency-theme-anubis .sidebar-brand-mark path,
body.agency-panel.agency-theme-anubis .sidebar-brand-mark circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.agency-panel.agency-theme-anubis .sidebar-brand-mark circle:last-of-type {
    fill: currentColor;
    stroke: none;
}

body.agency-panel.agency-theme-anubis .sidebar-brand-text {
    grid-area: name;
    color: #f1dfad;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
}

body.agency-panel.agency-theme-anubis .sidebar-version {
    grid-area: sub;
    margin-left: 0;
    display: block;
    color: rgba(169, 159, 136, 0.86);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body.agency-panel.agency-theme-anubis .nav-section-title {
    color: rgba(201, 164, 90, 0.72);
    letter-spacing: 0.16em;
}

body.agency-panel.agency-theme-anubis .nav-link {
    border-radius: 6px;
    color: #b8ad93;
}

body.agency-panel.agency-theme-anubis .nav-link.active {
    background: linear-gradient(90deg, rgba(201, 164, 90, 0.18), rgba(0, 109, 117, 0.08));
    color: #f0d27b;
    border-color: rgba(201, 164, 90, 0.34);
    box-shadow: inset 3px 0 0 #c9a45a;
}

body.agency-panel.agency-theme-anubis .sidebar-agency-card {
    background: linear-gradient(145deg, rgba(201, 164, 90, 0.12), rgba(0, 109, 117, 0.08));
    border-color: rgba(201, 164, 90, 0.26);
    border-radius: 10px;
}

body.agency-panel.agency-theme-anubis .top-header {
    border-radius: 10px;
    border-color: rgba(201, 164, 90, 0.2);
    background:
        linear-gradient(90deg, rgba(3, 8, 7, 0.96), rgba(8, 19, 16, 0.9)),
        linear-gradient(180deg, rgba(201, 164, 90, 0.12), transparent);
    box-shadow: inset 0 1px 0 rgba(244, 234, 208, 0.05), 0 16px 34px rgba(0, 0, 0, 0.22);
}

body.agency-panel.agency-theme-anubis .breadcrumb-item:first-child {
    color: #d4b86a;
    font-weight: 700;
}

body.agency-panel.agency-theme-anubis .header-search,
body.agency-panel.agency-theme-anubis .header-user,
body.agency-panel.agency-theme-anubis .form-control,
body.agency-panel.agency-theme-anubis .table-search {
    border-color: rgba(201, 164, 90, 0.17);
    background: rgba(3, 9, 8, 0.74);
}

body.agency-panel.agency-theme-anubis .user-avatar {
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f3d98a, #c9a45a 58%, #6f5321);
    color: #100c05;
}

body.agency-panel.agency-theme-anubis .card,
body.agency-panel.agency-theme-anubis .stat-card,
body.agency-panel.agency-theme-anubis .chart-card {
    border-color: rgba(201, 164, 90, 0.16);
    background:
        linear-gradient(180deg, rgba(201, 164, 90, 0.035), transparent 80px),
        rgba(8, 18, 15, 0.86);
    box-shadow: inset 0 1px 0 rgba(244, 234, 208, 0.035);
}

body.agency-panel.agency-theme-anubis .stat-card::before {
    height: 2px;
    background: linear-gradient(90deg, #c9a45a, #006d75);
}

body.agency-panel.agency-theme-anubis .page-title {
    color: #f4ead0;
}

body.agency-panel.agency-theme-anubis .page-title i,
body.agency-panel.agency-theme-anubis .card-title i {
    color: #c9a45a;
    opacity: 0.9;
}

body.agency-panel.agency-theme-anubis .btn-primary {
    color: #100c05;
    background: linear-gradient(135deg, #e4ca7b, #b9903d);
    border-color: rgba(244, 234, 208, 0.16);
}

@media (max-width: 992px) {
    body.agency-panel.agency-theme-anubis .main-content,
    body.agency-panel.agency-theme-anubis .main {
        margin-left: 0;
    }
}

body.agency-panel.agency-theme-gold {
    --bg-body: #0e0b06;
    --bg-sidebar: rgba(18, 13, 6, 0.97);
    --bg-card: rgba(31, 23, 11, 0.78);
    --primary: #d8b85b;
    --primary-hover: #f0cf76;
    --secondary: #8b5e14;
    --border: rgba(216, 184, 91, 0.16);
}

body.agency-panel.agency-theme-minimal {
    --bg-body: #101214;
    --bg-sidebar: rgba(15, 17, 20, 0.97);
    --bg-card: rgba(24, 27, 31, 0.78);
    --primary: #e5e7eb;
    --primary-hover: #ffffff;
    --secondary: #94a3b8;
    --border: rgba(226, 232, 240, 0.14);
}

body.agency-panel:not(.agency-theme-anubis) .sidebar-brand span {
    font-size: 1.16rem;
}

body.agency-panel:not(.agency-theme-anubis) .sidebar-brand small {
    display: none;
}

/* Atlas customer panel, bound by host override. */
body.agency-panel.agency-theme-atlas {
    --bg-body: #05070c;
    --bg-sidebar: #060a12;
    --bg-header: rgba(7, 11, 19, 0.92);
    --bg-card: rgba(10, 16, 27, 0.88);
    --bg-card-inner: rgba(13, 23, 38, 0.9);
    --bg-hover: rgba(79, 209, 197, 0.08);
    --bg-input: rgba(6, 11, 19, 0.86);
    --primary: #c7a45b;
    --primary-hover: #e4c779;
    --secondary: #4fd1c5;
    --success: #3ddc97;
    --warning: #d9a441;
    --danger: #ef5b6d;
    --text-main: #eef6ff;
    --text-muted: #8fa0b7;
    --border: rgba(199, 164, 91, 0.18);
    --border-color: rgba(79, 209, 197, 0.16);
    --border-color-light: rgba(199, 164, 91, 0.24);
    background-image:
        linear-gradient(90deg, rgba(79, 209, 197, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(199, 164, 91, 0.055) 1px, transparent 1px),
        radial-gradient(circle at 16% 12%, rgba(79, 209, 197, 0.16), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(199, 164, 91, 0.14), transparent 26%),
        linear-gradient(145deg, rgba(4, 8, 14, 0.95), rgba(6, 13, 23, 0.96));
    background-size: 84px 84px, 84px 84px, auto, auto, auto;
}

body.login-body.agency-panel.agency-theme-atlas {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

body.login-body.agency-panel.agency-theme-atlas .login-card {
    border: 1px solid rgba(199, 164, 91, 0.32);
    background:
        linear-gradient(180deg, rgba(79, 209, 197, 0.08), transparent 42%),
        rgba(7, 12, 20, 0.94);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(79, 209, 197, 0.08);
}

body.login-body.agency-panel.agency-theme-atlas .login-icon {
    color: #07111f;
    background: linear-gradient(135deg, #e5c878, #4fd1c5);
    box-shadow: 0 0 34px rgba(79, 209, 197, 0.28);
}

body.login-body.agency-panel.agency-theme-atlas .login-title {
    color: #f2dfad;
    -webkit-text-fill-color: initial;
    background: none;
}

body.login-body.agency-panel.agency-theme-atlas .login-subtitle {
    color: #9fb4c9;
}

body.agency-panel.agency-theme-atlas .sidebar {
    width: 284px;
    padding: 16px 14px 18px;
    background:
        linear-gradient(90deg, rgba(79, 209, 197, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(199, 164, 91, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 48% 0%, rgba(79, 209, 197, 0.17), transparent 36%),
        linear-gradient(180deg, rgba(5, 9, 16, 0.99), rgba(2, 5, 10, 0.995));
    background-size: 72px 72px, 72px 72px, auto, auto;
    border-right: 1px solid rgba(199, 164, 91, 0.18);
    box-shadow:
        inset -1px 0 0 rgba(79, 209, 197, 0.2),
        18px 0 48px rgba(0, 0, 0, 0.36);
}

body.agency-panel.agency-theme-atlas .sidebar::before {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.46), rgba(199, 164, 91, 0.45), transparent);
}

body.agency-panel.agency-theme-atlas .main-content,
body.agency-panel.agency-theme-atlas .main {
    margin-left: 284px;
}

body.agency-panel.agency-theme-atlas .sidebar-brand {
    min-height: 92px;
    margin-bottom: 28px;
    padding: 18px 16px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas:
        "mark name"
        "mark sub";
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(199, 164, 91, 0.32);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 22%, rgba(79, 209, 197, 0.2), transparent 30%),
        linear-gradient(135deg, rgba(199, 164, 91, 0.13), rgba(79, 209, 197, 0.08) 52%, rgba(4, 8, 14, 0.2)),
        rgba(4, 9, 15, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(238, 246, 255, 0.07),
        inset 0 -1px 0 rgba(79, 209, 197, 0.1),
        0 18px 38px rgba(0, 0, 0, 0.34);
}

body.agency-panel.agency-theme-atlas .sidebar-brand::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(79, 209, 197, 0.12);
    border-radius: 10px;
    pointer-events: none;
}

body.agency-panel.agency-theme-atlas .sidebar-brand::after {
    content: '';
    position: absolute;
    right: -34px;
    top: -38px;
    width: 112px;
    height: 112px;
    border: 1px solid rgba(199, 164, 91, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(79, 209, 197, 0.025);
    pointer-events: none;
}

body.agency-panel.agency-theme-atlas .sidebar-brand-mark {
    grid-area: mark;
    width: 54px;
    height: 54px;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e9cd7c;
    background:
        radial-gradient(circle, rgba(199, 164, 91, 0.18), transparent 56%),
        rgba(5, 11, 18, 0.92);
    border: 1px solid rgba(199, 164, 91, 0.36);
    box-shadow:
        inset 0 0 0 7px rgba(79, 209, 197, 0.045),
        0 0 28px rgba(79, 209, 197, 0.16);
}

body.agency-panel.agency-theme-atlas .sidebar-brand-mark::before,
body.agency-panel.agency-theme-atlas .sidebar-brand-mark::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

body.agency-panel.agency-theme-atlas .sidebar-brand-mark::before {
    inset: 8px;
    border: 1px solid rgba(79, 209, 197, 0.28);
}

body.agency-panel.agency-theme-atlas .sidebar-brand-mark::after {
    inset: -5px;
    border: 1px solid rgba(79, 209, 197, 0.12);
}

body.agency-panel.agency-theme-atlas .sidebar-brand-mark i {
    font-size: 1.22rem;
    filter: none;
}

body.agency-panel.agency-theme-atlas .sidebar-brand-text {
    grid-area: name;
    color: #f2dfad;
    position: relative;
    z-index: 1;
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

body.agency-panel.agency-theme-atlas .sidebar-version {
    grid-area: sub;
    margin-left: 0;
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    padding: 3px 0 0;
    color: rgba(79, 209, 197, 0.72);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.agency-panel.agency-theme-atlas .sidebar-brand .sidebar-version {
    display: inline-flex;
}

body.agency-panel.agency-theme-atlas .nav-section-title {
    color: rgba(199, 164, 91, 0.7);
    letter-spacing: 0.18em;
    padding-left: 12px;
}

body.agency-panel.agency-theme-atlas .nav-link {
    min-height: 46px;
    border-radius: 9px;
    color: #aeb9c9;
    gap: 13px;
    border: 1px solid transparent;
}

body.agency-panel.agency-theme-atlas .nav-link:hover {
    background: linear-gradient(90deg, rgba(79, 209, 197, 0.09), rgba(199, 164, 91, 0.045));
    color: #eef6ff;
    border-color: rgba(79, 209, 197, 0.11);
    transform: translateX(3px);
}

body.agency-panel.agency-theme-atlas .nav-link i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #d9c17a;
    background: rgba(238, 246, 255, 0.035);
    border: 1px solid rgba(199, 164, 91, 0.12);
}

body.agency-panel.agency-theme-atlas .nav-link:hover i {
    color: #06101b;
    background: linear-gradient(135deg, #d9bd6c, #4fd1c5);
    border-color: transparent;
    transform: none;
}

body.agency-panel.agency-theme-atlas .nav-link.active {
    background:
        linear-gradient(90deg, rgba(199, 164, 91, 0.21), rgba(79, 209, 197, 0.1)),
        rgba(5, 11, 18, 0.72);
    color: #f2dfad;
    border-color: rgba(199, 164, 91, 0.36);
    box-shadow:
        inset 4px 0 0 #e4c779,
        0 12px 28px rgba(0, 0, 0, 0.2);
}

body.agency-panel.agency-theme-atlas .nav-link.active i {
    color: #06101b;
    background: linear-gradient(135deg, #e4c779, #4fd1c5);
    border-color: transparent;
    box-shadow: 0 0 18px rgba(79, 209, 197, 0.18);
}

body.agency-panel.agency-theme-atlas .sidebar-agency-card {
    background: linear-gradient(145deg, rgba(79, 209, 197, 0.1), rgba(199, 164, 91, 0.08));
    border-color: rgba(79, 209, 197, 0.22);
    border-radius: 9px;
}

body.agency-panel.agency-theme-atlas .top-header {
    border-radius: 9px;
    border-color: rgba(79, 209, 197, 0.18);
    background:
        linear-gradient(90deg, rgba(5, 9, 16, 0.96), rgba(9, 18, 31, 0.92)),
        linear-gradient(180deg, rgba(199, 164, 91, 0.08), transparent);
    box-shadow: inset 0 1px 0 rgba(238, 246, 255, 0.05), 0 16px 34px rgba(0, 0, 0, 0.22);
}

body.agency-panel.agency-theme-atlas .breadcrumb-item:first-child {
    color: #4fd1c5;
    font-weight: 800;
}

body.agency-panel.agency-theme-atlas .header-search,
body.agency-panel.agency-theme-atlas .header-user,
body.agency-panel.agency-theme-atlas .form-control,
body.agency-panel.agency-theme-atlas .table-search {
    border-color: rgba(79, 209, 197, 0.17);
    background: rgba(5, 10, 17, 0.78);
}

body.agency-panel.agency-theme-atlas .user-avatar {
    border-radius: 9px;
    background: linear-gradient(135deg, #e4c779, #4fd1c5);
    color: #06101b;
}

body.agency-panel.agency-theme-atlas .card,
body.agency-panel.agency-theme-atlas .stat-card,
body.agency-panel.agency-theme-atlas .chart-card,
body.agency-panel.agency-theme-atlas .table-container {
    border-color: rgba(79, 209, 197, 0.14);
    background:
        linear-gradient(180deg, rgba(79, 209, 197, 0.035), transparent 80px),
        rgba(8, 15, 26, 0.88);
    box-shadow: inset 0 1px 0 rgba(238, 246, 255, 0.035);
}

body.agency-panel.agency-theme-atlas .stat-card::before {
    height: 2px;
    background: linear-gradient(90deg, #4fd1c5, #c7a45b);
}

body.agency-panel.agency-theme-atlas .page-title {
    color: #eef6ff;
    -webkit-text-fill-color: initial;
    background: none;
}

body.agency-panel.agency-theme-atlas .page-title i,
body.agency-panel.agency-theme-atlas .card-title i,
body.agency-panel.agency-theme-atlas .chart-card .card-header h3 i {
    color: #4fd1c5;
    opacity: 0.95;
}

body.agency-panel.agency-theme-atlas .btn-primary {
    color: #06101b;
    background: linear-gradient(135deg, #e4c779, #4fd1c5);
    border-color: rgba(238, 246, 255, 0.14);
    box-shadow: 0 10px 24px rgba(79, 209, 197, 0.18);
}

body.agency-panel.agency-theme-atlas .btn-primary:hover {
    box-shadow: 0 14px 32px rgba(79, 209, 197, 0.26);
}

body.agency-panel.agency-theme-atlas .mobile-menu-btn {
    background: linear-gradient(135deg, #e4c779, #4fd1c5);
    color: #06101b;
    box-shadow: 0 10px 30px rgba(79, 209, 197, 0.26);
}

@media (max-width: 992px) {
    body.agency-panel.agency-theme-atlas .main-content,
    body.agency-panel.agency-theme-atlas .main {
        margin-left: 0;
    }
}
