@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #f8fafc;
    --bg-gradient: radial-gradient(circle at 50% 0%, #fff5f5 0%, #f8fafc 100%);
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(248, 250, 252, 0.95);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(220, 38, 38, 0.4);
    --primary: #dc2626;
    --primary-gradient: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --primary-glow: rgba(220, 38, 38, 0.15);
    --secondary: #f59e0b;
    --secondary-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --secondary-glow: rgba(245, 158, 11, 0.15);
    --accent-teal: #14b8a6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --radius-lg: 16px;
    --radius-md: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* App Header & Branding */
header {
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px var(--secondary-glow);
    font-size: 20px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-badge {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.18);
    color: #f87171;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Centered Header Branding */
.header-center-branding {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.header-center-branding a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.header-center-title {
    color: var(--text-primary);
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.header-center-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.header-center-branding a:hover .header-center-title {
    color: var(--primary);
}

.header-center-branding a:hover .header-center-subtitle {
    color: var(--text-primary);
}

.light-theme .header-center-title {
    color: #0f172a;
}

.light-theme .header-center-branding a:hover .header-center-subtitle {
    color: #0f172a;
}

/* Page Layout */
main {
    flex: 1;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 30px 40px 80px 40px;
}

/* Interactive Multi-step Form */
.form-container {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Stepper progress indicator */
.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.stepper-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-50%);
    z-index: -1;
    border-radius: 2px;
}

.stepper-progress {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-gradient);
    transform: translateY(-50%);
    z-index: -1;
    transition: width 0.4s ease;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.step-indicator {
    width: 40px;
    height: 40px;
    background: #0f172a;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.step-indicator.active {
    border-color: var(--primary);
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
    transform: scale(1.1);
}

.step-indicator.completed {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}

/* Steps pages and visibility styling */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
    position: relative;
    z-index: 1;
}

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

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

/* Page Headings */
.step-heading-box {
    margin-bottom: 30px;
    text-align: center;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.step-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Form Controls & Elements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="time"],
select,
textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.2);
}

input.error,
select.error,
textarea.error {
    border-color: var(--danger);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.error-text {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

/* Custom Visual Selection Cards */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.selection-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.selection-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.selection-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    user-select: none;
    position: relative;
}

.selection-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.selection-card.selected {
    background: rgba(220, 38, 38, 0.08);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.15);
}

.selection-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.selection-card.selected .selection-checkbox {
    border-color: var(--primary);
    background: var(--primary);
}

.selection-checkbox i {
    color: white;
    font-size: 11px;
    display: none;
}

.selection-card.selected .selection-checkbox i {
    display: block;
}

.selection-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.selection-card.selected .selection-radio {
    border-color: var(--primary);
}

.selection-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    transform: scale(0);
    transition: var(--transition);
}

.selection-card.selected .selection-radio::after {
    transform: scale(1);
}

.selection-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
}

/* Optional subjects dropdown box */
.optional-select-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 16px;
    animation: fadeIn 0.3s ease;
}

/* Section dividers inside steps */
.question-block {
    margin-bottom: 28px;
}

.question-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: block;
}

/* Dynamic Questions Section */
.dynamic-questions-section {
    border-top: 1px dashed var(--border-color);
    margin-top: 24px;
    padding-top: 24px;
    animation: fadeIn 0.4s ease;
}

/* Form Action Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
    background: rgba(255,255,255,0.02);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--secondary-gradient);
    color: white;
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-accent:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Report Dashboard Styles */
.report-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.report-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--text-primary);
    background: rgba(220, 38, 38, 0.08);
}

.sidebar-link.active {
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding-left: 13px;
}

.report-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
}

/* Score Ring Widgets */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.score-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-widget.featured {
    background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.06) 0%, var(--bg-card) 70%);
    border-color: rgba(220, 38, 38, 0.2);
}

.gauge-circle {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 12px;
}

.gauge-circle svg {
    width: 110px;
    height: 110px;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(255,255,255,0.03);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 282.7;
    stroke-dashoffset: 282.7;
    transition: stroke-dashoffset 1s ease-in-out;
}

.gauge-circle.overall .gauge-fill {
    stroke: url(#primaryGrad);
}

.gauge-circle.prelims .gauge-fill {
    stroke: var(--accent-teal);
}

.gauge-circle.mains .gauge-fill {
    stroke: var(--primary);
}

.gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.score-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Badge/Metric displays */
.metric-pill {
    background: rgba(255,255,255,0.03);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-color);
}

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

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

.metric-pill.danger {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Strengths / Weaknesses listing */
.audit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.audit-column {
    background: rgba(10, 16, 28, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.audit-column.strengths {
    border-left: 4px solid var(--success);
}

.audit-column.weaknesses {
    border-left: 4px solid var(--danger);
}

.audit-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audit-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.audit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.audit-item i {
    margin-top: 4px;
    flex-shrink: 0;
}

.strengths .audit-item i {
    color: var(--success);
}

.weaknesses .audit-item i {
    color: var(--danger);
}

/* Timetable styling */
.timetable-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.timetable-mode-toggle {
    display: flex;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 8px;
}

.toggle-option {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.toggle-option.active {
    background: var(--primary-gradient);
    color: white;
}

.timetable-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.timetable-table th {
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.timetable-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.timetable-table tr:hover td {
    background: rgba(255,255,255,0.01);
}

.task-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-ca { background: #fef3c7; border: 1px solid #fde68a; color: #b45309; }
.tag-gs { background: #dbeafe; border: 1px solid #bfdbfe; color: #1d4ed8; }
.tag-optional { background: #fee2e2; border: 1px solid #fca5a5; color: #b91c1c; }
.tag-revision { background: #d1fae5; border: 1px solid #a7f3d0; color: #047857; }
.tag-oas { background: #fce7f3; border: 1px solid #fbcfe8; color: #be185d; }
.tag-practice { background: #ccfbf1; border: 1px solid #99f6e4; color: #0f766e; }
.tag-writing { background: #fee2e2; border: 1px solid #fca5a5; color: #b91c1c; }
.tag-relaxation { background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569; }

/* Booklist section */
.books-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.book-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.book-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-title i {
    color: var(--secondary);
}

.book-detail {
    font-size: 13px;
    color: var(--text-secondary);
}

.book-approach {
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px dashed var(--border-color);
    padding-top: 6px;
    margin-top: 4px;
}

/* Consultation banner */
.consult-banner {
    background: radial-gradient(circle at 100% 50%, rgba(220, 38, 38, 0.08) 0%, rgba(16, 22, 35, 0.8) 70%);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.consult-content {
    flex: 1;
}

.consult-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.consult-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.consult-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.consult-feature-item {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.consult-feature-item i {
    color: var(--accent-teal);
}

/* Footer Section */
footer {
    padding: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    border-top: 1px solid rgba(220, 38, 38, 0.3);
    margin-top: auto;
    background: linear-gradient(135deg, #be123c 0%, #991b1b 100%);
}

.light-theme footer {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: rgba(255, 255, 255, 0.95);
    border-top-color: #be123c;
}

/* Alert Boxes */
.alert-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Profile Tag Badging */
.profile-tag {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #f87171;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.profile-tag.burnout {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.profile-tag.disciplined {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.profile-tag.unprepared {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
}

.selection-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-size: 12px;
    display: none;
}

.time-inputs {
    display: flex;
    gap: 16px;
}

/* PDF PRINT STYLES */
@media print {
    body {
        background: white !important;
        color: #1e293b !important;
    }
    .report-layout {
        display: block !important;
    }
    .report-sidebar {
        display: none !important;
    }
    .dashboard-card {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        color: #1e293b !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    .scores-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .score-widget {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        color: #1e293b !important;
    }
    .gauge-bg {
        stroke: #f1f5f9 !important;
    }
    .gauge-circle svg text {
        fill: #1e293b !important;
    }
    .audit-grid {
        grid-template-columns: 1fr !important;
    }
    .audit-column {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        color: #1e293b !important;
    }
    .books-grid {
        grid-template-columns: 1fr !important;
    }
    .book-card {
        background: white !important;
        border: 1px solid #e2e8f0 !important;
        color: #1e293b !important;
    }
    .timetable-table th {
        background: #f8fafc !important;
        color: #475569 !important;
        border-bottom: 2px solid #e2e8f0 !important;
    }
    .timetable-table td {
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .task-tag {
        border: 1px solid #cbd5e1 !important;
        color: #475569 !important;
        background: none !important;
    }
    .consult-banner {
        display: none !important;
    }
}

/* Helper class for dynamic multi-page PDF generation */
.pdf-page-break {
    page-break-before: always;
    break-before: page;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(220, 38, 38, 0.5);
}

@media (max-width: 1024px) {
    .report-layout {
        grid-template-columns: 1fr;
    }
    .report-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 20px;
        border-radius: var(--radius-md);
        padding: 12px 16px;
    }
    .sidebar-nav {
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .sidebar-nav::-webkit-scrollbar {
        display: none;
    }
    .sidebar-link {
        white-space: nowrap;
        padding: 8px 14px;
        border-radius: 20px;
        font-size: 12px;
        gap: 6px;
        flex-shrink: 0;
        border: 1px solid var(--border-color);
        background: var(--bg-card);
    }
    .sidebar-link.active {
        border-left: none;
        border-radius: 20px;
        padding-left: 14px;
        background: rgba(220, 38, 38, 0.08);
        border-color: var(--primary);
        color: var(--primary);
    }
    .sidebar-link i {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 24px 16px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .selection-grid.three-cols,
    .selection-grid.two-cols {
        grid-template-columns: 1fr;
    }
    .stepper {
        gap: 6px;
    }
    .step-indicator {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .step-title {
        font-size: 22px;
    }
    .audit-grid {
        grid-template-columns: 1fr;
    }
    .scores-grid {
        grid-template-columns: 1fr;
    }
    .score-widget.featured {
        grid-column: span 1;
    }
    .consult-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .consult-features {
        grid-template-columns: 1fr;
    }
    
    /* Header Responsive Layout */
    header {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
        align-items: center;
    }
    .header-center-branding {
        position: static !important;
        transform: none !important;
        order: 2;
        margin: 4px 0;
    }
    .logo-container {
        order: 1;
    }
    .header-controls {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    /* Dashboard card reduced padding */
    .dashboard-card {
        padding: 18px 14px;
    }

    /* Gauge circle size reduction */
    .gauge-circle {
        width: 90px;
        height: 90px;
    }
    .gauge-circle svg {
        width: 90px;
        height: 90px;
    }
    .gauge-text {
        font-size: 20px;
    }

    /* Report header info grid: 4-col → 2-col */
    .report-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Recommendations grid → 1 col */
    .advice-grid {
        grid-template-columns: 1fr !important;
    }

    /* SWOT table: stack into rows on mobile */
    .swot-table thead tr {
        display: flex;
        flex-direction: column;
    }
    .swot-table thead th {
        width: 100% !important;
        display: block;
    }
    .swot-table tbody tr {
        display: flex;
        flex-direction: column;
    }
    .swot-table tbody td {
        width: 100% !important;
        display: block;
        border: none !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    /* Timetable readability */
    .timetable-table th,
    .timetable-table td {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }
    .timetable-table th:nth-child(3),
    .timetable-table td:nth-child(3) {
        display: none;
    }

    /* Table scroll wrapper hint */
    .timetable-box {
        position: relative;
    }
    .timetable-box::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 30px;
        height: 100%;
        background: linear-gradient(to right, transparent, var(--bg-dark));
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s;
    }
    .timetable-box.scrollable::after {
        opacity: 1;
    }
}

/* ==========================================
   LIGHT THEME OVERRIDES (PREMIUM DESIGN SYSTEM)
   ========================================== */
.light-theme {
    --bg-dark: #f8fafc;
    --bg-gradient: radial-gradient(circle at 50% 0%, #fff5f5 0%, #f8fafc 100%);
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(248, 250, 252, 0.95);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(220, 38, 38, 0.4);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --primary-glow: rgba(220, 38, 38, 0.15);
    --secondary-glow: rgba(245, 158, 11, 0.15);
}

.light-theme header {
    background: rgba(255, 255, 255, 0.75);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.light-theme input[type="text"],
.light-theme input[type="email"],
.light-theme input[type="password"],
.light-theme input[type="number"],
.light-theme input[type="time"],
.light-theme select,
.light-theme textarea {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
}

.light-theme input:focus,
.light-theme select:focus,
.light-theme textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.2);
}

.light-theme .step-indicator {
    background: #e2e8f0;
    color: #475569;
    border-color: rgba(15, 23, 42, 0.1);
}

.light-theme .step-indicator.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: var(--primary);
}

.light-theme .step-indicator.completed {
    background: var(--success);
    color: #ffffff;
    border-color: var(--success);
}

.light-theme .score-widget {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.light-theme .score-widget.featured {
    background: radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.06) 0%, #ffffff 70%);
}

.light-theme .gauge-bg {
    stroke: rgba(15, 23, 42, 0.04);
}

.light-theme .audit-column {
    background: rgba(255, 255, 255, 0.65);
}

.light-theme .consult-banner {
    background: radial-gradient(circle at 100% 50%, rgba(220, 38, 38, 0.04) 0%, #f8fafc 70%);
    border: 1px solid rgba(220, 38, 38, 0.12);
    color: var(--text-primary);
}

.light-theme .timetable-mode-toggle {
    background: #e2e8f0;
}

.light-theme .timetable-mode-toggle .toggle-option {
    color: #475569;
}

.light-theme .timetable-mode-toggle .toggle-option.active {
    color: #ffffff;
}

.light-theme .timetable-table th {
    background: #f1f5f9;
    color: #475569;
}

.light-theme .timetable-table td {
    border-bottom-color: rgba(15, 23, 42, 0.05);
}

.light-theme .admin-table th {
    background: #f1f5f9;
    color: #475569;
}

.light-theme .admin-table td {
    border-bottom-color: rgba(15, 23, 42, 0.05);
}

.light-theme .data-table-wrapper {
    background: #ffffff;
}

.light-theme .stepper-line {
    background: rgba(15, 23, 42, 0.12);
}

.light-theme .filter-panel {
    background: rgba(255, 255, 255, 0.5);
}

.light-theme .metric-card {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.light-theme .theme-toggle-btn {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.08);
    color: #475569;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.light-theme .theme-toggle-btn:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--primary);
    border-color: rgba(220, 38, 38, 0.18);
}

/* Base Theme Toggle Button (Standard styling for both) */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: rgba(220, 38, 38, 0.12);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.25);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Selection Grid Error Highlight styling */
.selection-grid.error {
    border: 1px solid var(--danger) !important;
    border-radius: var(--radius-md) !important;
    padding: 8px !important;
    background: rgba(239, 68, 68, 0.03) !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1) !important;
}

/* ==========================================================================
   DEDICATED PDF BOOKLET GENERATION STYLES (PURE PREMIUM A4 LIGHT THEME)
   ========================================================================== */
body.pdf-generation-active {
    background: #ffffff !important;
    background-image: none !important;
    color: #0f172a !important;
    --bg-dark: #ffffff !important;
    --bg-card: #ffffff !important;
    --bg-card-hover: #f8fafc !important;
    --text-primary: #0f172a !important;
    --text-secondary: #334155 !important;
    --text-muted: #64748b !important;
    --border-color: #e2e8f0 !important;
    --border-hover: #cbd5e1 !important;
}

/* Hide screen-only interactive assets and panels */
body.pdf-generation-active .report-sidebar,
body.pdf-generation-active .form-actions,
body.pdf-generation-active header,
body.pdf-generation-active footer {
    display: none !important;
}

/* Redefine report layout parameters */
body.pdf-generation-active .report-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.pdf-generation-active .report-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Print-optimized card blocks */
body.pdf-generation-active .dashboard-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    color: #0f172a !important;
    margin-bottom: 24px !important;
    padding: 24px !important;
    border-radius: 12px !important;
    page-break-inside: avoid !important;
}

body.pdf-generation-active h1,
body.pdf-generation-active h2,
body.pdf-generation-active h3,
body.pdf-generation-active h4,
body.pdf-generation-active h5,
body.pdf-generation-active h6,
body.pdf-generation-active .step-title {
    color: #0f172a !important;
}

body.pdf-generation-active p,
body.pdf-generation-active span,
body.pdf-generation-active li,
body.pdf-generation-active td,
body.pdf-generation-active th {
    color: #334155 !important;
}

/* 1. Custom Premium Booklet Cover Page (Page 1) */
body.pdf-generation-active .report-content > .dashboard-card:first-child {
    border-top: 8px solid #dc2626 !important;
    border-left: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    padding: 40px !important;
    margin-bottom: 30px !important;
}

body.pdf-generation-active .pdf-only-header {
    display: block !important;
}

/* 2. PDF Page Break Pagination */
body.pdf-generation-active .pdf-page-break {
    page-break-before: always !important;
    break-before: page !important;
}

/* 3. Solid Gauge Ring Color Overrides (Prevents SVG Gradient canvas failures) */
body.pdf-generation-active .gauge-bg {
    stroke: #f1f5f9 !important;
}

body.pdf-generation-active .gauge-text {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.pdf-generation-active #ringOverall {
    stroke: #dc2626 !important;
}

body.pdf-generation-active #ringPrelims {
    stroke: #14b8a6 !important;
}

body.pdf-generation-active #ringMains {
    stroke: #fbbf24 !important;
}

body.pdf-generation-active .score-widget {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

body.pdf-generation-active .score-widget.featured {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

/* SWOT metrics formatted in A4 Portrait double-columns */
body.pdf-generation-active .audit-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

body.pdf-generation-active .audit-column {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.pdf-generation-active .audit-column.strengths {
    border-left: 4px solid #10b981 !important;
}

body.pdf-generation-active .audit-column.weaknesses {
    border-left: 4px solid #ef4444 !important;
}

body.pdf-generation-active .audit-item span {
    color: #334155 !important;
}

/* Timetable styling */
body.pdf-generation-active .timetable-table th {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-bottom: 2px solid #cbd5e1 !important;
}

body.pdf-generation-active .timetable-table td {
    border-bottom: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}

body.pdf-generation-active .task-tag {
    border: 1px solid #94a3b8 !important;
    color: #0f172a !important;
    background: #f8fafc !important;
}

/* Double column resource booklists */
body.pdf-generation-active .books-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

body.pdf-generation-active .book-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 16px !important;
    border-radius: 8px !important;
}

body.pdf-generation-active .book-title {
    color: #dc2626 !important;
}

body.pdf-generation-active .book-detail {
    color: #475569 !important;
}

/* Score evaluation status badges */
body.pdf-generation-active .metric-pill {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

body.pdf-generation-active .metric-pill.success {
    background: #d1fae5 !important;
    border-color: #a7f3d0 !important;
    color: #065f46 !important;
}

body.pdf-generation-active .metric-pill.warning {
    background: #fef3c7 !important;
    border-color: #fde68a !important;
    color: #92400e !important;
}

body.pdf-generation-active .metric-pill.danger {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
}

/* Profile tagging */
body.pdf-generation-active .profile-tag {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #fca5a5 !important;
}

/* 4. Premium Back Cover Page (Page 8 ad consultation banner) */
body.pdf-generation-active .consult-banner {
    display: flex !important;
    background: #fff5f5 !important;
    border: 1px solid #fca5a5 !important;
    border-left: 6px solid #dc2626 !important;
    color: #0f172a !important;
    padding: 30px !important;
    border-radius: 12px !important;
    margin-top: 0 !important;
    page-break-before: always !important;
    break-before: page !important;
    box-sizing: border-box !important;
    height: 120mm !important; /* Perfect fit on last page */
    flex-direction: column !important;
    justify-content: space-between !important;
}

body.pdf-generation-active .consult-title {
    color: #5b21b6 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

body.pdf-generation-active .consult-desc {
    color: #475569 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

body.pdf-generation-active .consult-features {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-top: 15px !important;
    border-top: 1px dashed #ddd6fe !important;
    padding-top: 15px !important;
}

body.pdf-generation-active .consult-feature-item {
    font-size: 11px !important;
    color: #5b21b6 !important;
    font-weight: 600 !important;
}

body.pdf-generation-active .consult-feature-item i {
    color: #10b981 !important;
}

body.pdf-generation-active .consult-banner .btn-accent {
    display: none !important; /* Hide standard action button on printed page */
}

/* Premium Admin Navigation Menu */
.admin-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-nav a {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-nav a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.04);
}

.admin-nav a.active {
    background: #be123c !important;
    color: #ffffff !important;
    border-color: #be123c !important;
    box-shadow: 0 4px 12px rgba(190, 18, 60, 0.2);
}

.admin-nav a.nav-logout {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.admin-nav a.nav-logout:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Floating WhatsApp Button widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #ffffff !important;
    border-radius: 50px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
    border: 1px solid rgba(255,255,255,0.15);
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(32, 186, 90, 0.4);
    color: #ffffff !important;
}

.whatsapp-float i {
    font-size: 18px;
}

/* Mobile Responsiveness Improvements (max-width: 576px) */
@media (max-width: 576px) {
    body {
        font-size: 13px;
    }
    header {
        padding: 12px 15px !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }
    .header-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px !important;
    }
    .header-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
    .header-center-branding {
        display: none !important;
    }
    main {
        padding: 10px 10px 60px 10px !important;
    }
    .form-container {
        padding: 15px 12px !important;
        border-radius: 16px !important;
    }
    .step-title {
        font-size: 18px !important;
    }
    .step-subtitle {
        font-size: 12px !important;
    }
    .stepper {
        margin-bottom: 24px !important;
    }
    .step-indicator {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
    .selection-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .selection-card {
        padding: 12px 14px !important;
    }
    .scores-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .score-widget.featured {
        grid-column: span 1 !important;
    }
    .audit-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .books-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .form-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .form-actions .btn {
        width: 100% !important;
        text-align: center;
        justify-content: center;
        margin: 0 !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
    .timetable-table {
        font-size: 11px !important;
    }
    .timetable-table th, .timetable-table td {
        padding: 8px 6px !important;
    }
    .timetable-table th:nth-child(3),
    .timetable-table td:nth-child(3) {
        display: none;
    }
    .consult-banner {
        padding: 20px 15px !important;
        border-radius: var(--radius-md) !important;
    }
    .consult-features {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        font-size: 12px;
        padding: 8px 14px;
    }

    /* Report header info grid: 1-col on very small */
    .report-info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Gauge circles even smaller */
    .gauge-circle {
        width: 80px !important;
        height: 80px !important;
    }
    .gauge-circle svg {
        width: 80px !important;
        height: 80px !important;
    }
    .gauge-text {
        font-size: 18px !important;
    }

    /* Dashboard card tight padding */
    .dashboard-card {
        padding: 16px 12px !important;
    }

    /* Score label smaller */
    .score-label {
        font-size: 11px !important;
    }

    /* Sidebar pills smaller */
    .sidebar-link {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    /* Audit title smaller */
    .audit-title {
        font-size: 15px !important;
    }

    /* Alert box responsive */
    .alert-box {
        font-size: 12px !important;
        padding: 10px 12px !important;
    }
}

@media (max-width: 992px) {
    .metric-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    header {
        position: static !important;
    }
    .admin-nav {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 8px !important;
    }
    .admin-nav a {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    .summary-split {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .filter-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    .filter-grid > div:last-child {
        grid-column: span 2 !important;
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .filter-grid > div:last-child button,
    .filter-grid > div:last-child a {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
    }
    .admin-table {
        min-width: 900px !important;
    }
    .admin-table th {
        white-space: nowrap !important;
    }
    .timetable-grid-split {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 576px) {
    .metric-card-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .filter-grid {
        grid-template-columns: 1fr !important;
    }
    .filter-grid > div:last-child {
        grid-column: span 1 !important;
        flex-direction: column !important;
    }
}

@media (max-width: 400px) {
    .whatsapp-float span {
        display: none !important;
    }
    .whatsapp-float {
        width: 45px;
        height: 45px;
        border-radius: 50% !important;
        padding: 0 !important;
        justify-content: center;
        align-items: center;
    }
}
