/* ===== Corpo e fontes ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #f5e9e0;
    color: #333;
}

/* ===== Header / Menu ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fffaf5;
    flex-wrap: wrap;
    /* Para caber no mobile */
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    /* Para quebrar linha no mobile */
    gap: 10px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a.active {
    color: #e91e63;
}

.nav-links a:hover {
    color: #d81b60;
}

/* ===== Booking Section ===== */
.container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.booking-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-box label {
    font-weight: bold;
}

.booking-box select,
.booking-box input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Horários */
.times-wrapper h3 {
    margin-bottom: 10px;
}

.times-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.times-container button {
    flex: 1 1 60px;
    max-width: 80px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: #e91e63;
    color: white;
    cursor: pointer;
    text-align: center;
}

.times-container button:hover {
    background: #d81b60;
}

.times-container button.selected {
    background: #c2185b;
}

.times-container button.disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Botão Confirmar */
.confirm-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #e91e63;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.2s;
}

.confirm-btn:hover {
    background: #d81b60;
}

/* Mensagem info */
.info-text {
    font-style: italic;
    color: #555;
}

/* ===== Modal Login / Cadastro ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.tab-header {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    flex-wrap: wrap;
    /* Mobile-friendly */
}

.tab-header .tab {
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    background: #f5e9e0;
    border-radius: 8px;
    margin-bottom: 5px;
}

.tab-header .tab.active {
    background: #e91e63;
    color: white;
}

.form {
    display: flex;
    flex-direction: column;
}

.form label {
    margin: 5px 0;
}

.form input {
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.btn-submit {
    padding: 10px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #d81b60;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }

    .times-container button {
        flex: 1 1 45%;
        max-width: none;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .times-container button {
        flex: 1 1 100%;
    }

    .tab-header .tab {
        flex: 1 1 45%;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }
}

.booking-box select {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    height: auto;
}

.booking-box select option {
    padding: 8px;
}