* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --danger: #ef4444;
    --danger-light: #f87171;
    --info: #3b82f6;
    --info-light: #60a5fa;
    --dark: #1e293b;
    --dark-2: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --border: #e2e8f0;
    --bg: #f1f5f9;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-light: #64748b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

body.logged-out {
    display: block;
    overflow: hidden;
}

.login-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: loginBg 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes loginBg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.login-screen.hidden {
    display: none;
}

.login-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: loginIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes loginIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-brand {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 18px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

.login-brand h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.login-brand p {
    color: var(--text-light);
    font-size: 14px;
}

.login-form {
    margin-bottom: 24px;
}

.login-alert {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-alert.show {
    display: flex !important;
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

.input-with-icon {
    position: relative;
}

.input-with-icon span {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.5;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 42px !important;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--dark-2);
    font-weight: 500;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.remember-me {
    margin-bottom: 24px !important;
}

.btn-login {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.45);
}

.btn-login:active {
    transform: translateY(0);
}

.login-hint {
    text-align: center;
    margin-top: 18px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 10px;
    font-size: 13px;
    color: var(--primary-dark);
}

.login-hint strong {
    font-weight: 700;
}

.login-footer {
    text-align: center;
    font-size: 12px;
    color: var(--gray-light);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-menu {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 14px 8px 8px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    font-family: inherit;
}

.user-info:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.user-info.open {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.menu-caret {
    margin-left: 6px;
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.2s ease;
}

.user-info.open .menu-caret {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-width: 200px;
    padding: 8px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}

.user-menu-dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-2);
    text-align: left;
    font-family: inherit;
    transition: background 0.15s ease;
}

.user-menu-item:hover {
    background: var(--bg);
}

.user-menu-item span:first-child {
    font-size: 16px;
}

.user-menu-danger {
    color: var(--danger);
}

.user-menu-danger:hover {
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger);
}

.user-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.user-text {
    line-height: 1.2;
    text-align: left;
}

.user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.user-role {
    font-size: 11px;
    color: var(--text-light);
}

.password-alert,
.password-success {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-alert {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.password-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.password-hint {
    background: rgba(99, 102, 241, 0.06);
    color: var(--primary-dark);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 14px !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 24px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 24px;
}

.logo-icon {
    font-size: 32px;
}

.logo span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    padding: 0 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.nav-item.active {
    background: rgba(255,255,255,0.2);
    color: white;
    box-shadow: inset 3px 0 0 white;
}

.nav-icon {
    font-size: 18px;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    min-height: 100vh;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.header-left h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.header-left p {
    color: var(--text-light);
    font-size: 14px;
}

.date-display {
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--dark-2);
    font-size: 14px;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.stat-primary::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.stat-success::before { background: linear-gradient(90deg, var(--success), var(--success-light)); }
.stat-warning::before { background: linear-gradient(90deg, var(--warning), var(--warning-light)); }
.stat-info::before { background: linear-gradient(90deg, var(--info), var(--info-light)); }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.stat-primary .stat-icon { background: rgba(99, 102, 241, 0.12); }
.stat-success .stat-icon { background: rgba(16, 185, 129, 0.12); }
.stat-warning .stat-icon { background: rgba(245, 158, 11, 0.12); }
.stat-info .stat-icon { background: rgba(59, 130, 246, 0.12); }

.stat-content {
    flex: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-change {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.chart-container {
    padding: 24px;
    height: 300px;
}

.top-studios {
    padding: 16px;
}

.top-studio-item {
    display: flex;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: background 0.2s ease;
}

.top-studio-item:hover {
    background: var(--bg);
}

.top-studio-rank {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-right: 14px;
}

.top-studio-info {
    flex: 1;
}

.top-studio-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.top-studio-type {
    font-size: 12px;
    color: var(--text-light);
}

.top-studio-count {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: var(--bg);
    font-weight: 700;
    color: var(--dark-2);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s ease;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-ongoing {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}
.status-ongoing::before { background: var(--warning); }

.status-completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}
.status-completed::before { background: var(--success); }

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}
.status-cancelled::before { background: var(--danger); }

.btn-primary,
.btn-success,
.btn-outline,
.btn-danger,
.btn-sm {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

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

.btn-danger:hover {
    background: #dc2626;
}

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

.action-buttons {
    display: flex;
    gap: 6px;
}

.page-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.page-actions select {
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.page-actions select:focus {
    outline: none;
    border-color: var(--primary);
}

.studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.studio-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.studio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.studio-card-header {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    padding: 24px;
    color: white;
    position: relative;
}

.studio-type-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.studio-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.studio-price {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.95;
}

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

.studio-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--dark-2);
    font-size: 14px;
}

.studio-info-row span:first-child {
    font-size: 16px;
}

.studio-facilities {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.studio-facilities-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.facility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.facility-tag {
    background: var(--bg);
    color: var(--dark-2);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.studio-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
}

.studio-card-footer .btn-sm {
    flex: 1;
}

.report-filters {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-2);
}

.filter-group input,
.filter-group select {
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.report-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.summary-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.summary-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-light);
    line-height: 1;
    transition: color 0.2s ease;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}

.modal form {
    padding: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-2);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input[readonly] {
    background: var(--bg);
    font-weight: 700;
    color: var(--primary);
}

.modal-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-state h4 {
    font-size: 18px;
    color: var(--dark-2);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 72px;
    }
    .logo span,
    .nav-item span:last-child {
        display: none;
    }
    .logo {
        justify-content: center;
        padding: 0 0 24px;
    }
    .nav-item {
        justify-content: center;
    }
    .main-content {
        margin-left: 72px;
        padding: 20px;
    }
    .top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media print {
    .sidebar,
    .top-header,
    .page-actions,
    .report-filters,
    .no-print {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc;
    }
    body {
        background: white !important;
    }
}
