/* Responsive Styles */

@media (max-width: 640px) {
    :root {
        --font-size-base: 14px;
        --space-md: 0.75rem;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .btn {
        min-height: 44px;
        /* Touch target */
    }

    .controls {
        overflow-x: auto;
        padding-bottom: var(--space-xs);
    }
}

@media (min-width: 1024px) {
    main {
        max-width: 1200px;
    }

    .calendar-container {
        overflow: visible;
    }
}

/* Dark Mode Support (Future proofing) */
@media (prefers-color-scheme: dark) {
    /* Variables handled in variables.css */
}