* {
    letter-spacing: 0;
}

body {
    min-height: 100vh;
    background: #f4f6fb;
    color: #1f2937;
    font-family: "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-navbar {
    background: #7c1d2b;
    box-shadow: 0 4px 18px rgba(31, 41, 55, 0.12);
}

.app-main {
    min-height: calc(100vh - 58px);
}

.hero-band {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(124, 29, 43, 0.92), rgba(24, 50, 84, 0.76)),
        url("../images/hostel-pattern.svg") center/cover no-repeat;
    color: #ffffff;
}

.hero-band h1 {
    max-width: 780px;
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero-band p {
    max-width: 620px;
    font-size: 1.08rem;
}

.content-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.auth-card,
.panel-card,
.stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(31, 41, 55, 0.06);
}

.auth-card {
    max-width: 520px;
    margin: 2.5rem auto;
    padding: 1.5rem;
}

.panel-card {
    padding: 1.25rem;
}

.stat-card {
    padding: 1.15rem;
    height: 100%;
}

.stat-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #7c1d2b;
    font-size: 1.35rem;
}

.btn-primary {
    --bs-btn-bg: #7c1d2b;
    --bs-btn-border-color: #7c1d2b;
    --bs-btn-hover-bg: #641724;
    --bs-btn-hover-border-color: #641724;
}

.btn-outline-primary {
    --bs-btn-color: #7c1d2b;
    --bs-btn-border-color: #7c1d2b;
    --bs-btn-hover-bg: #7c1d2b;
    --bs-btn-hover-border-color: #7c1d2b;
}

.stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.stepper .step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-weight: 600;
}

.stepper .step-number {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e5e7eb;
    color: #334155;
}

.stepper .step.active,
.stepper .step.done {
    color: #7c1d2b;
}

.stepper .step.active .step-number,
.stepper .step.done .step-number {
    background: #7c1d2b;
    color: #ffffff;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.document-preview {
    min-height: 42px;
    font-size: 0.9rem;
    color: #475569;
}

.document-preview img {
    max-width: 120px;
    max-height: 100px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    object-fit: cover;
    margin-top: 0.5rem;
}

.status-badge {
    min-width: 92px;
}

.table td,
.table th {
    vertical-align: middle;
}

.notification-item.unread {
    border-left: 4px solid #7c1d2b;
    background: #fff7f8;
}

.print-sheet {
    background: #ffffff;
    max-width: 980px;
    margin: 2rem auto;
    padding: 2rem;
}

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

    .stepper .step {
        font-size: 0.9rem;
    }

    .content-shell {
        padding: 1rem;
    }

    .auth-card {
        margin: 1rem;
    }
}

@media print {
    .navbar,
    .no-print,
    .btn {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .print-sheet {
        margin: 0;
        padding: 0;
        max-width: none;
        box-shadow: none;
        border: 0;
    }
}

