/* Globálne nastavenia */
body {
    background-color: #2D2D2D;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

h1, h2 {
    color: #FFFFFF;
}

/* Odkazy */
a {
    color: #D32F2F;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Tlačidlá */
button {
    background-color: #D32F2F;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #B71C1C;
}

/* Formulárové polia */
input, select, textarea {
    width: 100%;
    background-color: #444;
    color: #FFFFFF;
    border: 1px solid #666;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    box-sizing: border-box;
}

input::placeholder, textarea::placeholder {
    color: #CCCCCC;
}

/* Wizard kroky */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Časové bloky */
.time-slot {
    display: inline-block;
    background-color: #D32F2F;
    color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.time-slot:hover {
    background-color: #B71C1C;
}

/* Usporiadanie tlačidiel pre dĺžku rezervácie */
.duration-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.duration-btn {
    width: 150px;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

/* Responzivita */
@media (max-width: 600px) {
    .duration-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .duration-btn {
        width: 45%;
        padding: 12px;
        font-size: 16px;
        text-align: center;
    }
}

/* ==== ŠTÝLY PRE CHECKBOXY ==== */
.inline-checkbox,
.full-checkbox {
    display: flex;
    flex-direction: column;     /* Checkbox pod text */
    align-items: center;        /* Zarovnanie na stred */
    text-align: center;         /* Text na stred */
    gap: 8px;
    margin-bottom: 20px;
    color: white;
    font-size: 16px;
    width: 100%;
    line-height: 1.5;
}

/* Checkbox */
.inline-checkbox input,
.full-checkbox input {
    margin: 0;
}

/* Text nad checkboxom */
.inline-checkbox span,
.full-checkbox span {
    display: block;
}

/* UI dostupných časov */
.times-top-bar {
    width: 100%;
    max-width: 760px;
    margin: 6px auto 18px auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.times-heading-wrap {
    text-align: center;
}

.selected-date-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

.available-times-wrap {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.location-section {
    border: 2px solid #ff3a3a;
    border-radius: 16px;
    padding: 18px 16px 16px;
    margin: 0 auto 20px auto;
    text-align: center;
    box-sizing: border-box;
}

.location-section h3 {
    margin: 0 0 14px 0;
    font-size: 20px;
    line-height: 1.35;
}

.location-section h3 small {
    display: block;
    font-size: 15px;
    font-weight: 400;
}

.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.day-nav-btn {
    min-width: 118px;
    justify-self: start;
}

.day-nav-next {
    justify-self: end;
}

.day-nav-btn.disabled,
.day-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background-color: #7f2a2a;
}

.no-times-message {
    margin: 10px 0 4px;
    color: #e0e0e0;
}

@media (max-width: 700px) {
    .times-top-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        justify-items: center;
    }

    .day-nav-btn,
    .day-nav-next {
        justify-self: center;
    }

    .location-section {
        padding: 16px 12px 14px;
    }
}
