/**
 * Baby Teeth Tracker - Stylesheet
 * Desenvolvido por B20 Conteúdo Digital
 * https://www.b20.com.br
 */

/* ========================================
   CSS VARIABLES - LAVENDER FIELDS PALETTE
   ======================================== */
:root {
    /* Paleta Lavender Fields - High Contrast Version */
    --primary-color: #6C63FF;
    /* Accessible Purple */
    --secondary-color: #FF7675;
    /* Soft Salmon/Pink (High Visibility) */
    --accent-color: #DFE4EA;
    /* Light Grey-Blue */
    --surface-color: #F8F9FA;
    /* Off-White/Light Grey */
    --text-color: #2D3436;
    /* Dark Grey (Almost Black) - High Legibility */

    /* Variações automáticas */
    --primary-hover: #5A52D5;
    --primary-light: #EBEAFD;
    /* Very light purple for backgrounds */
    --bg-color: #FFFFFF;
    --text-secondary: #636E72;
    /* Medium Grey */
    --text-muted: rgba(45, 52, 54, 0.6);

    /* Layout */
    --border-radius: 16px;
    --spacing-unit: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Tooth Status Colors */
    --tooth-waiting: var(--accent-color);
    --tooth-emerging: var(--secondary-color);
    --tooth-emerged: var(--primary-color);
}

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

html {
    font-size: clamp(14px, 2.5vw, 16px);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 60px;
    padding-bottom: 70px;
    min-height: 100vh;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* ========================================
   HEADER FIXO
   ======================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-logo i {
    font-size: 24px;
    color: var(--primary-color);
}

.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.header-logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.header-actions {
    display: flex;
    gap: 8px;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 4px;
    }

    .desktop-nav .nav-link {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 6px 10px;
        border-radius: 6px;
        color: var(--text-color);
        text-decoration: none;
        transition: var(--transition);
        font-weight: 500;
        font-size: 0.85rem;
    }

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

    .desktop-nav .nav-link.active {
        background: var(--primary-color);
        color: white;
    }
}

/* ========================================
   BOTTOM NAVIGATION (MOBILE)
   ======================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: var(--surface-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    transition: var(--transition);
    min-width: 64px;
    min-height: 48px;
}

.nav-item i {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active i {
    transform: scale(1.15);
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none !important;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 48px;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--accent-color);
}

/* ========================================
   SECTIONS & CONTAINERS
   ======================================== */
.section {
    display: none;
    min-height: calc(100vh - 130px);
    padding: 24px 0;
}

.section.active {
    display: block;
}

.container {
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.section-header p {
    color: var(--text-secondary);
}

/* ========================================
   CARDS
   ======================================== */
.welcome-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.welcome-logo {
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
}

.welcome-logo-img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.welcome-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.welcome-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Current Baby Info */
.current-baby-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: 12px;
    margin-top: 24px;
}

.baby-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.baby-avatar i {
    font-size: 30px;
    color: white;
}

.baby-details {
    flex: 1;
}

.baby-details h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.baby-details p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stat-card i {
    font-size: 28px;
    color: var(--primary-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

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

/* Quick Actions */
.quick-actions {
    margin-top: 32px;
}

.quick-actions h3 {
    margin-bottom: 16px;
    text-align: center;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
}

.empty-state h3 {
    margin: 16px 0 8px;
    font-size: 1.25rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ========================================
   DIAGRAM
   ======================================== */
.diagram-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.teeth-diagram {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.teeth-arch {
    margin-bottom: 32px;
}

.teeth-arch h3 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.teeth-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tooth {
    width: 50px;
    height: 60px;
    background: var(--tooth-waiting);
    border-radius: 8px 8px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tooth:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tooth.emerging {
    background: var(--tooth-emerging);
    color: white;
}

.tooth.emerged {
    background: var(--tooth-emerged);
    color: white;
}

.tooth-number {
    font-size: 0.75rem;
    font-weight: 600;
}

.tooth-icon {
    font-size: 20px;
    margin-top: 4px;
}

/* Teeth Legend Table */
.teeth-legend-table-container {
    margin-top: 40px;
}

.teeth-legend-table-wrapper h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    text-align: center;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.teeth-legend-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
    font-size: 0.875rem;
}

.teeth-legend-table th,
.teeth-legend-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--accent-color);
}

.teeth-legend-table th {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
    white-space: nowrap;
}

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

.teeth-legend-table tr:hover td {
    background: rgba(0, 0, 0, 0.02);
}

.tooth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.75rem;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.input-with-button {
    display: flex;
    gap: 8px;
}

.input-with-button input {
    flex: 1;
}

/* Symptoms Grid */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.symptom-checkbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 12px;
    background: var(--surface-color);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 140px;
    position: relative;
    user-select: none;
    text-align: center;
}

.symptom-checkbox:hover {
    transform: translateY(-4px);

    /* Lift effect */
}

/* Hide default checkbox visually but keep accessible */
.symptom-checkbox input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Icon Styling */
.symptom-checkbox i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Text Styling */
.symptom-checkbox span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

/* Checked State */
.symptom-checkbox.checked {
    background: var(--primary-light);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.symptom-checkbox.checked i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Active/Focus State for Accessibility */
.symptom-checkbox:has(input:focus-visible) {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.custom-symptoms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.custom-symptom-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
}

.custom-symptom-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Status Buttons */
.status-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.status-btn {
    padding: 12px;
    border: 2px solid var(--accent-color);
    background: var(--surface-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
}

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

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

.status-btn i {
    font-size: 20px;
}

/* ========================================
   HISTORY
   ======================================== */
.history-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--accent-color);
    background: var(--surface-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

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

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

.history-actions {
    text-align: center;
    margin-bottom: 24px;
}

.history-timeline {
    position: relative;
    padding-left: 40px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.history-item {
    position: relative;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--surface-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.history-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--bg-color);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.history-item-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--primary-light);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.history-item-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.history-item-content {
    color: var(--text-color);
}

/* ========================================
   FAQ
   ======================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--accent-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer:not([hidden]) {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   MODALS
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    padding: 16px;
    overflow-y: auto;
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-color);
}

.modal-body {
    padding: 20px;
}

/* Babies List */
.babies-list {
    margin-bottom: 16px;
}

.baby-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--surface-color);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.baby-list-item:hover {
    background: var(--primary-light);
}

.baby-list-item.active {
    background: var(--primary-color);
    color: white;
}

.baby-list-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.baby-list-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.baby-list-item.active .baby-list-avatar {
    background: white;
    color: var(--primary-color);
}

.baby-list-details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.baby-list-details p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.baby-list-actions {
    display: flex;
    gap: 8px;
}

.baby-list-actions button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
}

.baby-list-actions button:hover {
    background: rgba(0, 0, 0, 0.1);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.form-actions button {
    flex: 1;
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-color);
    color: var(--bg-color);
    padding: 12px 24px;
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3000;
    box-shadow: var(--shadow-lg);
    max-width: 90%;
    text-align: center;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (min-width: 768px) {
    .toast {
        bottom: 24px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   FOOTER
   ======================================== */
.app-footer {
    text-align: center;
    padding: 32px 16px;
    background: var(--surface-color);
    margin-top: 48px;
}

.app-footer p {
    margin: 8px 0;
    color: var(--text-secondary);
}

.app-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.app-footer a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

/* Dark Mode Footer Overrides */
body.dark-mode .app-footer p {
    color: #e0e0e0;
}

body.dark-mode .app-footer a {
    color: #a29bfe;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .teeth-row {
        gap: 6px;
    }

    .tooth {
        width: 45px;
        height: 55px;
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.active {
    animation: fadeIn 0.3s ease;
}

/* ========================================
   LOADING SKELETON
   ======================================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}