/* Gurudev Netralay Public Website Stylesheet */
:root {
    --primary: #1F4E9C;
    --primary-dark: #163A75;
    --primary-light: #EBF2FA;
    --primary-hover: #174288;
    --orange: #F0821E;
    --orange-hover: #D96F12;
    --orange-light: #FEF4EB;
    --teal: #0C7B93;
    --teal-dark: #095E70;
    --teal-light: #E6F5F7;
    --white: #FFFFFF;
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --border: #E2E8F0;
    --border-dark: #CBD5E1;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --success: #16A34A;
    --success-light: #DCFCE7;
    --danger: #DC2626;
    --danger-light: #FEE2E2;
    --warning: #D97706;
    --warning-light: #FEF3C7;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.03);
}

html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

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

body {
    font-family: 'Noto Sans', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

/* Typography & Sub-labels */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

p, span, a, label, li, td, th {
    overflow-wrap: break-word;
}

.sub-label {
    display: block;
    font-size: 0.82em;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Top Bar Notice */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
    padding: 6px 0;
    width: 100%;
    box-sizing: border-box;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.top-bar-branches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-weight: 500;
    max-width: 100%;
}

.top-bar-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    max-width: 100%;
}

.top-bar-contact a {
    color: #F8FAFC;
    font-weight: 600;
}

.top-bar-contact a:hover {
    color: var(--orange);
}

/* Header & Nav */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    box-sizing: border-box;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    max-width: calc(100% - 60px);
    flex-shrink: 1;
}

.brand-logo {
    height: 44px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.nav-link .nav-hi {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: normal;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-main);
}

.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 14px;
    font-weight: 600;
    color: var(--text-main);
    border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    transition: all 0.15s ease;
    min-height: 44px;
    touch-action: manipulation;
    user-select: none;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    min-height: 36px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 12px 22px;
    font-size: clamp(15px, 4vw, 17px);
    min-height: 48px;
}

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

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

.btn-orange {
    background-color: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(240, 130, 30, 0.35);
}

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

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

.btn-teal:hover {
    background-color: var(--teal-dark);
    color: var(--white);
}

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

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

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.15);
    color: var(--white);
}

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

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

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

.btn-wa {
    background-color: #25D366;
    color: var(--white);
}

.btn-wa:hover {
    background-color: #1EBE5D;
    color: var(--white);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 8px;
    min-height: 36px;
}

.btn-block {
    width: 100%;
}

.btn .btn-hi {
    font-size: 0.8em;
    font-weight: normal;
    opacity: 0.9;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-orange {
    background: var(--orange-light);
    color: var(--orange);
}

/* Forms & Inputs (16px to prevent iOS auto-zoom) */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
}

.form-control, input[type="text"], input[type="tel"], input[type="number"], select, textarea {
    width: 100%;
    font-size: 16px !important;
    padding: 10px 14px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    background-color: var(--white);
    color: var(--text-main);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    min-height: 44px;
    font-family: inherit;
}

.form-control:focus, input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 78, 156, 0.15);
}

.phone-input-wrap {
    display: flex;
    align-items: stretch;
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--border);
    border: 1px solid var(--border-dark);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-weight: 600;
    color: var(--text-main);
    font-size: 16px;
}

.phone-input-wrap input {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Alert Boxes */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.alert-danger {
    background-color: var(--danger-light);
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.alert-success {
    background-color: var(--success-light);
    color: #166534;
    border: 1px solid #86EFAC;
}

.alert-warning {
    background-color: var(--warning-light);
    color: #92400E;
    border: 1px solid #FCD34D;
}

.alert-dev {
    background-color: #FEF08A;
    border: 2px dashed #CA8A04;
    color: #854D0E;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #163A75 0%, #1F4E9C 60%, #0C7B93 100%);
    color: var(--white);
    padding: clamp(36px, 8vw, 64px) 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    max-width: 760px;
    width: 100%;
    box-sizing: border-box;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: clamp(12px, 3.2vw, 13px);
    font-weight: 600;
    margin-bottom: 18px;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-hi {
    font-size: clamp(1rem, 4vw, 1.35rem);
    font-weight: 600;
    color: #F8FAFC;
    margin-bottom: 16px;
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-lead {
    font-size: clamp(0.92rem, 3.2vw, 1.05rem);
    line-height: 1.6;
    color: #E2E8F0;
    margin-bottom: 28px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 100%;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.hero-badge-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: clamp(12px, 3.2vw, 13px);
    font-weight: 500;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Section Common */
.section {
    padding: 50px 0;
    width: 100%;
    box-sizing: border-box;
}

.section-bg {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: clamp(1.4rem, 4.5vw, 1.85rem);
    color: var(--primary-dark);
    margin-bottom: 4px;
    word-break: break-word;
}

.section-hi {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    word-break: break-word;
}

.section-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
    word-break: break-word;
}

/* Services Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.service-title {
    font-size: 19px;
    margin-bottom: 4px;
    color: var(--primary-dark);
    word-break: break-word;
}

.service-title-hi {
    font-size: 14px;
    color: var(--orange);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    word-break: break-word;
}

.service-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    word-break: break-word;
}

/* Branches Section */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.branch-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.branch-card-header {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.branch-name {
    font-size: 22px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    word-break: break-word;
}

.branch-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.branch-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    word-break: break-word;
}

.branch-info-icon {
    font-size: 16px;
    color: var(--primary);
    margin-top: 2px;
}

.branch-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Timings Card */
.timings-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    overflow-x: auto;
}

.timings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.timings-table td, .timings-table th {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

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

.timings-day {
    font-weight: 600;
    color: var(--text-main);
    width: 45%;
}

.timings-hours {
    color: var(--primary);
    font-weight: 600;
}

/* Login Card Page */
.login-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px 40px 16px;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .login-wrap {
        min-height: calc(80vh - 120px);
        align-items: center;
        padding: 40px 16px;
    }
}

.login-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-header h2 {
    font-size: 22px;
    margin-top: 12px;
    word-break: break-word;
}

.login-logo {
    height: 44px;
    object-fit: contain;
}

/* OTP Boxes Container */
.otp-inputs {
    display: flex;
    justify-content: center;
    gap: clamp(4px, 2vw, 8px);
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.otp-box {
    width: clamp(38px, 11vw, 46px);
    height: clamp(44px, 12vw, 52px);
    text-align: center;
    font-size: clamp(18px, 5vw, 22px) !important;
    font-weight: 700;
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--primary-dark);
    padding: 0 !important;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.otp-box:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 78, 156, 0.2);
}

.resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Booking Flow */
.booking-section {
    padding: 40px 0;
}

.booking-header {
    margin-bottom: 28px;
}

.booking-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.booking-step-title {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Branch Selector Cards */
.branch-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}

.branch-select-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    cursor: pointer;
    background: var(--white);
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
}

.branch-select-card:hover {
    border-color: var(--primary-light);
    background: var(--bg-page);
}

.branch-select-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.branch-select-card .name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Date Chips */
.date-chips-wrap {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.date-chip {
    flex: 0 0 auto;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    text-align: center;
    min-width: 78px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.date-chip:hover:not(.disabled) {
    border-color: var(--primary);
}

.date-chip.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.date-chip.selected .date-day,
.date-chip.selected .date-num,
.date-chip.selected .date-month {
    color: var(--white);
}

.date-chip.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-page);
}

.date-chip .date-day {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
}

.date-chip .date-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.1;
    margin: 2px 0;
}

.date-chip .date-month {
    font-size: 11px;
    color: var(--text-muted);
}

/* Slot Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 10px;
}

.slot-btn {
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--primary-dark);
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    min-height: 44px;
}

.slot-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-light);
}

.slot-btn.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.slot-btn:disabled {
    background: #F1F5F9;
    color: #94A3B8;
    border-color: #E2E8F0;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Success Card */
.success-card {
    background: var(--white);
    border: 2px solid #86EFAC;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.success-icon {
    font-size: 54px;
    color: var(--success);
    margin-bottom: 12px;
}

.booking-no-pill {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    letter-spacing: 1px;
    margin: 14px 0;
    border: 1px solid rgba(31, 78, 156, 0.2);
}

.reception-note {
    background: var(--warning-light);
    border: 1px solid #FCD34D;
    color: #92400E;
    padding: 12px;
    border-radius: var(--radius-md);
    margin: 18px 0;
    font-weight: 600;
    font-size: 15px;
}

/* Medical Report Layout (Printable) */
.report-view-wrap {
    padding: 30px 0;
}

.report-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 16px;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.report-brand-name {
    font-size: 24px;
    color: var(--primary);
    font-weight: 800;
}

.report-title-badge {
    text-align: right;
}

.report-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.meta-field {
    font-size: 14px;
}

.meta-field .label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
}

.meta-field .val {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

.report-section {
    margin-bottom: 24px;
}

.report-section-title {
    font-size: 16px;
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
    margin-bottom: 12px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tables in Report */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 14px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    font-size: 14px;
}

.report-table th, .report-table td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    text-align: left;
}

.report-table th {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
}

.report-table tr:nth-child(even) {
    background-color: #FAFAFA;
}

/* Wide Table Mobile Cards (< 600px) */
.med-cards-view,
.report-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.med-card,
.rx-card {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}

.med-card-name,
.rx-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.med-card-chips,
.rx-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.med-chip,
.rx-chip {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

.med-card-instructions {
    font-size: 13px;
    color: #475569;
    background: #FFFBEB;
    border-left: 3px solid #F59E0B;
    padding: 6px 10px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 8px;
    line-height: 1.4;
}

@media (max-width: 599.98px) {
    .med-table-view,
    .report-table-desktop {
        display: none !important;
    }

    .med-cards-view,
    .report-cards-mobile {
        display: flex !important;
    }
}

@media (min-width: 600px) {
    .med-table-view,
    .report-table-desktop {
        display: block !important;
    }

    .med-cards-view,
    .report-cards-mobile {
        display: none !important;
    }
}

.diagnosis-box {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
}

.surgery-box {
    background: var(--warning-light);
    border: 1px solid #FDE68A;
    color: #92400E;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
}

.advice-box {
    background: var(--bg-page);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.5;
}

/* My Bookings List */
.booking-item-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer */
.site-footer {
    background-color: #0B192C;
    color: #CBD5E1;
    margin-top: auto;
    padding: 48px 0 24px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 32px;
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 6px;
    word-break: break-word;
}

.footer-brand p {
    color: #94A3B8;
    line-height: 1.5;
    margin-bottom: 12px;
    word-break: break-word;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 14px;
    border-left: 3px solid var(--orange);
    padding-left: 8px;
    word-break: break-word;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94A3B8;
    word-break: break-word;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 20px;
    text-align: center;
    color: #64748B;
    font-size: 13px;
    word-break: break-word;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .brand-logo {
        height: 36px;
        max-width: 180px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .hero {
        padding: 36px 0;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 100%;
    }

    .services-grid, .branches-grid, .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .service-card, .branch-card {
        padding: 18px 16px;
    }

    .report-card {
        padding: 20px 14px;
    }

    .login-wrap {
        padding: 16px 12px 32px 12px;
    }

    .login-card {
        padding: 22px 16px;
    }
}

@media (max-width: 412px) {
    .brand-logo {
        height: 32px;
        max-width: 150px;
    }

    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 28px 0;
    }

    .login-card {
        padding: 18px 12px;
    }

    .date-chip {
        min-width: 68px;
        padding: 6px 8px;
    }
}

/* Print CSS */
@media print {
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
        font-size: 11pt;
    }

    .site-header, .top-bar, .site-footer, .no-print, .btn, .mobile-nav {
        display: none !important;
    }

    .report-view-wrap {
        padding: 0 !important;
    }

    .report-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .report-table th {
        background-color: #EEEEEE !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .report-table th, .report-table td {
        border: 1px solid #444444 !important;
        color: #000000 !important;
    }

    .med-table-view,
    .report-table-desktop {
        display: block !important;
    }

    .med-cards-view,
    .report-cards-mobile {
        display: none !important;
    }

    @page {
        margin: 12mm;
        size: A4 portrait;
    }
}
