/* ============================================
   AskRasa MVP - Complete Stylesheet
   ============================================ */

:root {
    --primary: #1a5f7a;
    --primary-light: #2d8fb0;
    --primary-dark: #0d3d4d;
    --accent: #e8a838;
    --accent-light: #f5c76a;
    --success: #2d8659;
    --warning: #c9781a;
    --danger: #c0392b;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.7;
    direction: rtl;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.tagline {
    font-size: 0.85rem;
    color: var(--gray-600);
    border-right: 2px solid var(--gray-300);
    padding-right: 1rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.admin-link {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

/* Progress bar in assessment */
.progress-bar {
    flex: 1;
    max-width: 300px;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin: 0 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    min-width: 40px;
    text-align: left;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.highlight {
    color: var(--accent-light);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: var(--gray-900);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 168, 56, 0.3);
}

/* ============================================
   DOMAINS SECTION
   ============================================ */
.domains-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.domains-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.domain-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--gray-400);
    position: relative;
}

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

.domain-card.high {
    border-top-color: var(--danger);
}

.domain-card.medium {
    border-top-color: var(--warning);
}

.domain-card.low {
    border-top-color: var(--success);
}

.domain-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.domain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.domain-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.priority-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-badge.high {
    background: #fde8e8;
    color: var(--danger);
}

.priority-badge.medium {
    background: #fef3e2;
    color: var(--warning);
}

.priority-badge.low {
    background: #e8f5ee;
    color: var(--success);
}

/* ============================================
   HOW SECTION
   ============================================ */
.how-section {
    background: var(--white);
    padding: 4rem 2rem;
}

.how-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ============================================
   START SECTION
   ============================================ */
.start-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.start-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.note {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.domain-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.domain-start-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--gray-300);
    background: var(--white);
}

.domain-start-btn.active {
    border-color: var(--primary);
    background: #f0f7fa;
}

.domain-start-btn:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateX(-4px);
}

.domain-start-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    flex: 1;
    font-weight: 600;
    color: var(--gray-800);
}

.btn-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: var(--gray-200);
    color: var(--gray-600);
}

.domain-start-btn.active .btn-status {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   ASSESSMENT PAGE
   ============================================ */
.assessment-page {
    background: var(--gray-100);
}

.assessment-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.step-section {
    display: none;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.step-section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.step-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.step-desc {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Form */
.company-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--gray-300);
}

/* Questions */
.questions-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
}

.questions-header h2 {
    color: var(--primary);
}

.domain-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.questions-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.question-card {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-right: 4px solid var(--gray-400);
    transition: var(--transition);
}

.question-card.high-priority {
    border-right-color: var(--danger);
    background: #fff8f8;
}

.question-card.medium-priority {
    border-right-color: var(--warning);
    background: #fffbf5;
}

.question-card.low-priority {
    border-right-color: var(--success);
    background: #f8fdfb;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.question-number {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
}

.priority-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
}

.priority-tag.high {
    background: #fde8e8;
    color: var(--danger);
}

.priority-tag.medium {
    background: #fef3e2;
    color: var(--warning);
}

.priority-tag.low {
    background: #e8f5ee;
    color: var(--success);
}

.question-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.question-en {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-style: italic;
    direction: ltr;
    text-align: left;
}

.scale-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.scale-btn {
    flex: 1;
    min-width: 80px;
    padding: 0.75rem 0.5rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.85rem;
    text-align: center;
}

.scale-btn:hover {
    border-color: var(--primary);
    background: #f0f7fa;
}

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

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    padding: 0 0.5rem;
}

/* Loading */
.loading-container {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.loading-step {
    font-size: 0.85rem;
    color: var(--gray-400);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--gray-100);
    transition: var(--transition);
}

.loading-step.active {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   REPORT PAGE
   ============================================ */
.report-page {
    background: var(--gray-100);
}

.report-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.report-header {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    text-align: center;
}

.report-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.report-badge {
    background: var(--accent);
    color: var(--gray-900);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.report-date {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.report-header h1 {
    font-size: 1.8rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.report-subtitle {
    color: var(--gray-600);
}

/* Score Cards */
.score-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.score-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.score-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.score-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--gray-100);
    transition: var(--transition);
}

.score-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.score-card .domain-name {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.score-card .score-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.score-card .score-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.score-card .score-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.score-excellent { color: var(--success); }
.score-good { color: #2d8fb0; }
.score-average { color: var(--warning); }
.score-poor { color: var(--danger); }

/* Final Score */
.final-score-section {
    margin-bottom: 1.5rem;
}

.final-score-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.final-label {
    font-size: 1rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 0.5rem;
}

.final-score {
    font-size: 4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin: 0.5rem 0;
}

.final-status {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.final-desc {
    opacity: 0.9;
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Analysis */
.analysis-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.analysis-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.domain-analysis-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.domain-analysis-card:hover {
    box-shadow: var(--shadow);
}

.domain-analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.domain-analysis-header h3 {
    font-size: 1.1rem;
    color: var(--gray-900);
}

.domain-score-badge {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.analysis-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.recommendation-list {
    margin-top: 1rem;
    padding-right: 1.5rem;
}

.recommendation-list li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* Recommendations */
.recommendations-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.recommendations-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.recommendation-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.recommendation-card:hover {
    background: #f0f7fa;
}

.rec-priority {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--white);
}

.rec-priority.high { background: var(--danger); }
.rec-priority.medium { background: var(--warning); }
.rec-priority.low { background: var(--success); }

.rec-content h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.rec-content p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Upgrade CTA */
.upgrade-section {
    margin-bottom: 2rem;
}

.upgrade-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.upgrade-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.upgrade-card p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.upgrade-card ul {
    text-align: right;
    display: inline-block;
    margin: 1rem 0;
    list-style: none;
}

.upgrade-card ul li {
    padding: 0.4rem 0;
    position: relative;
    padding-right: 1.5rem;
}

.upgrade-card ul li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: 700;
}

.btn-cta {
    background: var(--accent);
    color: var(--gray-900);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 168, 56, 0.3);
}

/* ============================================
   ADMIN PAGE
   ============================================ */
.admin-page {
    background: var(--gray-100);
}

.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.admin-badge {
    background: var(--danger);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-desc {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-box .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-box .stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.table-container {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

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

.data-table th {
    background: var(--gray-100);
    padding: 1rem;
    text-align: right;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.85rem;
    border-bottom: 2px solid var(--gray-200);
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: var(--gray-100);
}

.data-table a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.data-table a:hover {
    text-decoration: underline;
}

.export-section {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-sub {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .domains-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

    .score-cards {
        grid-template-columns: 1fr;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .progress-bar {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0.5rem 0 0;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
}

/* Print styles */
@media print {
    .navbar, .upgrade-section, .footer {
        display: none;
    }

    .report-container {
        margin: 0;
        padding: 0;
    }

    .report-header, .score-section, .analysis-section, .recommendations-section {
        box-shadow: none;
        border: 1px solid var(--gray-300);
        break-inside: avoid;
    }
}
