@import url('./base.css');
@import url('./components.css');
@import url('./layout.css');
@import url('./pages.css');

/* === Responsive === */
@media (max-width: 900px) {
    body {
        padding-top: 122px;
    }

    .site-header {
        height: 110px;
    }

    .site-header img {
        height: 90px;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .details-right>*:not(:first-child) {
        margin-top: 20px;
    }

    .participants .small {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    #participant-count,
    #children-count,
    #adults-count {
        min-width: 52px;
        padding: 10px;
        font-size: 15px;
    }

    .option-cards {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .danger-div {
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .site-header {
        height: 92px;
    }

    .site-header img {
        height: 72px;
    }

    body {
        padding-top: 104px;
    }

    .admin table thead {
        display: none;
    }

    .admin tbody tr {
        display: block;
        margin-bottom: 12px;
        background: var(--surface);
        border-radius: var(--radius-md);
        padding: 12px;
        box-shadow: var(--shadow-sm);
    }

    .admin tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
    }

    .admin tbody td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--muted);
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-image img {
        height: 120px;
    }

    .details-grid {
        padding: 16px;
        gap: 12px;
    }

    .details-left img {
        height: 180px;
    }

    .participants {
        width: 100%;
        justify-content: space-between;
    }

    .participants .small {
        width: 40px;
        height: 40px;
    }

    #participant-count,
    #children-count,
    #adults-count {
        min-width: 48px;
        padding: 8px;
        font-size: 15px;
    }

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

    .slots button {
        padding: 10px;
        font-size: 15px;
    }

    .calendar-day {
        min-height: 44px;
        font-size: 13px;
    }
}