/**
 * Tử Vi Chart Styles
 * Layout: 12 cung grid với stars và info
 */

/* ============================================================================
   VARIABLES
   ============================================================================ */
/* Light theme is now default */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #8b5cf6;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    /* Star colors - adjusted for light theme */
    --chinh-tinh-color: #d97706;
    --cat-tinh-color: #16a34a;
    --sat-tinh-color: #dc2626;
    --tu-hoa-color: #7c3aed;
    
    /* Cung Menh/Than */
    --menh-color: #d97706;
    --than-color: #2563eb;
    
    /* Ngu Hanh colors */
    --moc-color: #16a34a;
    --hoa-color: #dc2626;
    --tho-color: #ca8a04;
    --kim-color: #64748b;
    --thuy-color: #2563eb;
}

/* Dark theme */
body.dark-theme {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --card-border: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --chinh-tinh-color: #f59e0b;
    --cat-tinh-color: #22c55e;
    --sat-tinh-color: #ef4444;
    --tu-hoa-color: #8b5cf6;
    --menh-color: #f59e0b;
    --than-color: #3b82f6;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* ============================================================================
   HEADER
   ============================================================================ */
header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 0.75rem 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo {
    height: 36px;
    width: auto;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-actions button,
.nav-actions a {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.nav-actions button:hover,
.nav-actions a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================================================
   CONTAINER
   ============================================================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.page-title h1 {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-title h1 i {
    color: var(--primary-color);
}

.about-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.about-link:hover {
    color: var(--primary-color);
}

/* ============================================================================
   INPUT SECTION
   ============================================================================ */
.input-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    padding: 0.625rem 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

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

.secondary-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.secondary-btn:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* ============================================================================
   LOADING & ERROR
   ============================================================================ */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.loading i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* ============================================================================
   RESULT SECTION
   ============================================================================ */
.result-section {
    animation: fadeIn 0.3s ease;
}

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

/* Basic Info Card */
.basic-info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-header h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.info-value.highlight {
    color: var(--menh-color);
}

.info-value.highlight-secondary {
    color: var(--than-color);
}

/* Tu Hoa Card */
.tu-hoa-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tu-hoa-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tu-hoa-card h3 i {
    color: var(--tu-hoa-color);
}

.tu-hoa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.tu-hoa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: var(--bg-color);
}

.hoa-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hoa-star {
    font-weight: 600;
    font-size: 1rem;
}

.hoa-loc {
    border-left: 3px solid #22c55e;
}

.hoa-loc .hoa-star {
    color: #22c55e;
}

.hoa-quyen {
    border-left: 3px solid #f59e0b;
}

.hoa-quyen .hoa-star {
    color: #f59e0b;
}

.hoa-khoa {
    border-left: 3px solid #3b82f6;
}

.hoa-khoa .hoa-star {
    color: #3b82f6;
}

.hoa-ky {
    border-left: 3px solid #ef4444;
}

.hoa-ky .hoa-star {
    color: #ef4444;
}

/* ============================================================================
   CHART GRID - 12 CUNG LAYOUT
   ============================================================================ */
.chart-section {
    margin-bottom: 1.5rem;
}

.chart-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-section h2 i {
    color: var(--primary-color);
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, minmax(120px, auto));
    gap: 4px;
    background: var(--card-border);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    overflow: hidden;
}

/* Cung Cell */
.cung-cell {
    background: var(--card-bg);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.cung-cell:hover {
    background: rgba(99, 102, 241, 0.1);
}

/* Special positions - center cells are empty (for classic layout) */
.cung-cell.center-empty {
    background: var(--bg-color);
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.center-info {
    text-align: center;
    padding: 1rem;
}

.center-info h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.center-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Cung Header */
.cung-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.cung-chi {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cung-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: right;
}

/* Menh/Than indicators */
.cung-cell.is-menh {
    border-left: 3px solid var(--menh-color);
}

.cung-cell.is-than {
    border-left: 3px solid var(--than-color);
}

.cung-cell.is-menh.is-than {
    border-left: 3px solid;
    border-image: linear-gradient(to bottom, var(--menh-color), var(--than-color)) 1;
}

.menh-indicator,
.than-indicator {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    font-size: 0.65rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.menh-indicator {
    background: var(--menh-color);
    color: #000;
}

.than-indicator {
    background: var(--than-color);
    color: #fff;
    right: auto;
    left: 0.25rem;
}

/* Stars in Cung */
.cung-stars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.star-item {
    font-size: 0.75rem;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.star-item.chinh-tinh {
    color: var(--chinh-tinh-color);
    font-weight: 600;
}

.star-item.cat-tinh {
    color: var(--cat-tinh-color);
}

.star-item.sat-tinh {
    color: var(--sat-tinh-color);
}

.star-item.tu-hoa-tinh {
    color: var(--tu-hoa-color);
}

.star-item.other-star {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* ============================================================================
   LEGEND
   ============================================================================ */
.legend-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem;
}

.legend-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-dot.chinh-tinh {
    background: var(--chinh-tinh-color);
}

.legend-dot.cat-tinh {
    background: var(--cat-tinh-color);
}

.legend-dot.sat-tinh {
    background: var(--sat-tinh-color);
}

.legend-dot.tu-hoa-tinh {
    background: var(--tu-hoa-color);
}

.legend-dot.cung-menh-legend {
    background: var(--menh-color);
}

.legend-dot.cung-than-legend {
    background: var(--than-color);
}

/* ============================================================================
   MODAL
   ============================================================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.modal-header h3 {
    font-size: 1.25rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body .star-detail-item {
    margin-bottom: 1rem;
}

.modal-body .star-detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.modal-body .star-detail-value {
    font-size: 1rem;
    color: var(--text-primary);
}

/* ============================================================================
   EXPORT ACTIONS
   ============================================================================ */
.export-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.export-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.export-btn.secondary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.export-btn.secondary:hover {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.export-btn i {
    font-size: 1rem;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--card-border);
    margin-top: 2rem;
}

/* ============================================================================
   INTERPRETATION SECTION
   ============================================================================ */
.interpretation-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.interpretation-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.interpretation-section h2 i {
    color: var(--secondary-color);
}

.interpretation-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.interpretation-tabs button {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.interpretation-tabs button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.interpretation-tabs button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.interpretation-content {
    min-height: 200px;
}

.interpretation-card {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.interpretation-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.interpretation-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.interpretation-card ul {
    color: var(--text-secondary);
    margin-left: 1.25rem;
    line-height: 1.8;
}

.interpretation-card li {
    margin-bottom: 0.25rem;
}

.interpretation-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-left: 3px solid var(--primary-color);
    padding: 1rem 1.25rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1rem 0;
}

.interpretation-highlight strong {
    color: var(--primary-color);
}

.star-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.star-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.star-badge.positive {
    border-color: var(--cat-tinh-color);
    color: var(--cat-tinh-color);
}

.star-badge.negative {
    border-color: var(--sat-tinh-color);
    color: var(--sat-tinh-color);
}

.star-badge .star-cung {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Cách Cục Cards */
.cachcuc-card {
    border-left: 4px solid var(--text-muted);
}

.cachcuc-card.positive {
    border-left-color: var(--cat-tinh-color);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), transparent);
}

.cachcuc-card.positive h3 {
    color: var(--cat-tinh-color);
}

.cachcuc-card.negative {
    border-left-color: var(--sat-tinh-color);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), transparent);
}

.cachcuc-card.negative h3 {
    color: var(--sat-tinh-color);
}

.cachcuc-card.neutral {
    border-left-color: var(--chinh-tinh-color);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05), transparent);
}

.cachcuc-card.neutral h3 {
    color: var(--chinh-tinh-color);
}

/* Advice Card */
.advice-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), transparent);
    border-left: 4px solid var(--primary-color);
}

.advice-card h3 {
    color: var(--secondary-color);
}

/* Positive/Negative text colors */
.interpretation-card h3.positive {
    color: var(--cat-tinh-color);
}

.interpretation-card h3.negative {
    color: var(--sat-tinh-color);
}

.interpretation-card h3.neutral {
    color: var(--chinh-tinh-color);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .container {
        padding: 1rem 0.75rem;
    }
    
    .chart-grid {
        grid-template-rows: repeat(4, minmax(110px, auto));
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 0.5rem;
    }
    
    .site-title {
        font-size: 1rem;
    }
    
    .logo {
        height: 28px;
    }
    
    .chart-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(4, minmax(90px, auto));
        gap: 2px;
    }
    
    .cung-cell {
        padding: 0.375rem;
        min-height: 90px;
    }
    
    .cung-chi {
        font-size: 0.8rem;
    }
    
    .cung-name {
        font-size: 0.6rem;
    }
    
    .star-item {
        font-size: 0.6rem;
        padding: 0.1rem 0.2rem;
    }
    
    .menh-indicator,
    .than-indicator {
        font-size: 0.55rem;
        padding: 0.1rem 0.25rem;
    }
    
    .tu-hoa-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .tu-hoa-item {
        padding: 0.75rem;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .input-section,
    .basic-info-card,
    .tu-hoa-card,
    .legend-section,
    .interpretation-section {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    
    .center-info h3 {
        font-size: 1rem;
    }
    
    .center-info p {
        font-size: 0.75rem;
    }
    
    .interpretation-tabs {
        gap: 0.375rem;
    }
    
    .interpretation-tabs button {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .legend-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .page-title h1 {
        font-size: 1.35rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-group:nth-child(5),
    .form-group:nth-child(6) {
        grid-column: span 1;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .chart-grid {
        grid-template-rows: repeat(4, minmax(75px, auto));
    }
    
    .cung-cell {
        min-height: 75px;
    }
    
    .cung-chi {
        font-size: 0.7rem;
    }
    
    .star-item {
        font-size: 0.55rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .interpretation-tabs button {
        flex: 1 1 45%;
    }
}

@media (max-width: 360px) {
    .chart-grid {
        grid-template-rows: repeat(4, minmax(65px, auto));
    }
    
    .cung-cell {
        min-height: 65px;
        padding: 0.25rem;
    }
    
    .cung-stars {
        gap: 1px;
    }
    
    .star-item {
        font-size: 0.5rem;
    }
}

/* ============================================================================
   NOTIFICATION ANIMATIONS
   ============================================================================ */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Print styles */
@media print {
    .export-actions,
    .interpretation-section,
    header,
    footer,
    .input-section,
    .nav-actions {
        display: none !important;
    }
    
    .result-section {
        display: block !important;
    }
    
    body {
        background: white !important;
    }
}