/* mobile.css */

/* General Mobile Adjustments */
@media (max-width: 767px) {
    body {
        padding: 0.75rem;
        justify-content: flex-start;
    }

    .container {
        padding-top: 1rem;
        padding-bottom: 8rem; /* Space for music player */
    }

    /* Header */
    .header h1 {
        font-size: 1.5rem;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .logo {
        width: 40px;
        height: 40px;
    }

    /* Live Banner */
    .live-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }
    .live-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .live-btn {
        text-align: center;
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }

    /* Calendar */
    .datepicker {
        padding: 1rem;
    }
    .datepicker-calendar {
        gap: 0.15rem;
    }
    .date {
        font-size: 0.8rem;
    }
    .arrow {
        width: 2.25rem;
        height: 2.25rem;
    }

    /* Social Buttons */
    .social-buttons {
        grid-template-columns: 1fr 1fr;
    }
    .social-btn {
        padding: 0.6rem 0.8rem;
        gap: 0.5rem;
    }
    .social-btn span {
        font-size: 0.8rem;
    }

    /* Music Player */
    #music-player {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        width: calc(100% - 1.5rem);
    }

    /* Theme Modal */
    .theme-modal-content {
        padding: 1.5rem 1rem;
        width: 100%;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }
    .theme-modal-content h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    .theme-options {
        max-height: none;
        flex-grow: 1;
        padding-right: 0.25rem;
    }
    .theme-option {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    .theme-name {
        font-size: 0.9rem;
    }
    .theme-palette, .theme-palette-locked {
        width: 60px;
        height: 30px;
    }
    .theme-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
    .info-icon-container {
        margin: 0;
    }
}

@media (max-width: 360px) {
    .header h1 {
        font-size: 1.3rem;
    }
    .subtitle {
        font-size: 0.8rem;
    }
    .social-buttons {
        grid-template-columns: 1fr;
    }
}