:root {
    --mrs-navy: #0f2c52;
    --mrs-navy-dark: #0a1e38;
    --mrs-blue: #1d5fbf;
    --mrs-blue-light: #eaf1fc;
    --mrs-bg: #f4f6f9;
    --mrs-card-shadow: 0 2px 10px rgba(15, 44, 82, 0.07);
    --mrs-border: #e3e8ef;
    --mrs-text-muted: #6b7686;
    --mrs-radius: 10px;
}

body { background-color: var(--mrs-bg); font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif; color: #1f2937; }

.mrs-app-shell { display: flex; min-height: 100vh; }

.mrs-sidebar { width: 260px; background: linear-gradient(180deg, var(--mrs-navy) 0%, var(--mrs-navy-dark) 100%); color: #dbe4f3; flex-shrink: 0; transition: margin-left 0.25s ease; }
.mrs-sidebar .brand { padding: 1.25rem 1.25rem 1rem; font-weight: 700; font-size: 1rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mrs-sidebar .nav-link { color: #b9c7de; padding: 0.65rem 1.25rem; font-size: 0.92rem; border-left: 3px solid transparent; }
.mrs-sidebar .nav-link i { width: 20px; margin-right: 10px; }
.mrs-sidebar .nav-link:hover, .mrs-sidebar .nav-link.active { background: rgba(255,255,255,0.06); color: #fff; border-left-color: var(--mrs-blue); }

@media (max-width: 992px) {
    .mrs-sidebar { position: fixed; z-index: 1040; height: 100vh; margin-left: -260px; }
    .mrs-sidebar.show { margin-left: 0; }
}

.mrs-main { flex: 1; min-width: 0; }
.mrs-topbar { background: #fff; border-bottom: 1px solid var(--mrs-border); padding: 0.75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 10; }
.mrs-content { padding: 1.5rem; }

.mrs-card { background: #fff; border: 1px solid var(--mrs-border); border-radius: var(--mrs-radius); box-shadow: var(--mrs-card-shadow); }

.mrs-kpi-card { border-radius: var(--mrs-radius); padding: 1.25rem; background: #fff; border: 1px solid var(--mrs-border); box-shadow: var(--mrs-card-shadow); display: flex; align-items: center; gap: 1rem; }
.mrs-kpi-card .kpi-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: var(--mrs-blue-light); color: var(--mrs-blue); flex-shrink: 0; }
.mrs-kpi-value { font-size: 1.6rem; font-weight: 700; color: var(--mrs-navy); line-height: 1; }
.mrs-kpi-label { font-size: 0.8rem; color: var(--mrs-text-muted); margin-top: 4px; }

.btn-mrs-primary { background-color: var(--mrs-blue); border-color: var(--mrs-blue); color: #fff; }
.btn-mrs-primary:hover { background-color: #164a99; border-color: #164a99; color: #fff; }

.room-card { border-radius: var(--mrs-radius); overflow: hidden; border: 1px solid var(--mrs-border); position: relative; height: 100%; }
.room-card.unavailable { opacity: 0.65; }
.room-card .room-status-badge { position: absolute; top: 10px; right: 10px; }

.mrs-stepper { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.mrs-stepper .step { flex: 1; text-align: center; position: relative; color: var(--mrs-text-muted); }
.mrs-stepper .step .circle { width: 32px; height: 32px; border-radius: 50%; background: #e5eaf2; color: #7c8aa0; display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; font-weight: 600; font-size: 0.85rem; }
.mrs-stepper .step.active .circle, .mrs-stepper .step.completed .circle { background: var(--mrs-blue); color: #fff; }
.mrs-stepper .step.active { color: var(--mrs-navy); font-weight: 600; }

@media (max-width: 768px) {
    .mrs-stepper { flex-direction: column; gap: 0.5rem; }
    .mrs-stepper .step { display: flex; align-items: center; gap: 8px; text-align: left; }
    .mrs-stepper .step .circle { margin: 0; }
}

.mrs-auth-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mrs-navy) 0%, var(--mrs-navy-dark) 100%); padding: 1rem; }
.mrs-auth-card { background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,0.25); max-width: 420px; width: 100%; padding: 2.25rem 2rem; }

.badge-status-pending_approval { background-color: #f5a524; }
.badge-status-approved { background-color: #17c964; }
.badge-status-rejected { background-color: #f31260; }
.badge-status-cancelled { background-color: #71717a; }
.badge-status-completed { background-color: #0d6efd; }
.badge-status-draft { background-color: #9ca3af; }

.mrs-workflow { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.mrs-workflow .wf-step { flex: 1; min-width: 140px; background: #fff; border: 1px solid var(--mrs-border); border-radius: var(--mrs-radius); padding: 1rem; text-align: center; }
.mrs-workflow .wf-step .num { font-size: 0.75rem; color: var(--mrs-blue); font-weight: 700; }
.mrs-workflow .wf-step i { font-size: 1.4rem; color: var(--mrs-navy); margin: 0.4rem 0; display: block; }
