#reservation {
    display: flex;
    justify-content: center;
    width: 100%;
}

#wrapper {
    width: 1140px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#reservation-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 70px;
    flex-direction: column;
    width: 100%;
}


.reservation {
    color: #6cb41d;
    background-color: #0d0d0d;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
}

.selected {
    color: #ffffff;
    background-color: #6cb41d;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
}

.blocked {
    color: #ffffff !important;
    background-color: #b41d1d !important;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
}

.error {
    color: #b41d1d;
}

.field-input {
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    display: block;
    font-size: 16px;
    height: 48px;
    padding: 0 16px;
    width: 100%;
    outline: none;
}

.field-input:active {
    border-color: #6cb41d;
}

.field-input:focus {
    border-color: #6cb41d;
}

.field-label {
    color: #dcdcdc;
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 3px 0;
    padding: 5px 0;
    text-align: left;
}

#alpaca-select {
    width: calc(50% - 10px);
}

#people-select {
    width: calc(50% - 10px);
    margin-bottom: 10px;
}

#dodaj {
    background-color: #7ED321;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 0;
    padding: 13px 13px 13px 13px;
    text-transform: none;
}

#single-price {
    margin-bottom: 20px;
}

.reservation-inputs-container {
    width: 500px;
}



/* Kontener kalendarza */
#calendar {
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #555555;
}

/* Nawigacja tygodniowa */
#calendar button {
    background-color: transparent;
    border: 1px solid #555555;
    color: #dcdcdc;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#calendar button:hover {
    background-color: #0056b3;
}

.week-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#weekLabel {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 10px;
}

/* Układ dni tygodnia */
#weekDays {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

/* Stylizacja pojedynczego dnia */
.day {
    flex: 1;
    background-color: transparent;
    border: 1px solid #555555;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}

/* Nagłówek dnia */
.date-header {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
    border-bottom: 1px solid #555555;
    padding-bottom: 4px;
    color: #aaa;
}

/* Lista godzin */
.hours {
    list-style-type: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    margin-top: 10px;
}

.hours li {
    padding: 4px 0;
    border-bottom: 1px solid #444;
    text-align: center;
    color: #aaa;
}

/* Pole wyboru godziny */
.new-hour {
    margin-top: 10px;
    /* padding: 6px; */
    border: 0.5px solid #444;
    border-radius: 4px;
    /* width: 100%; */
}

.hour-chosen {
    background-color: #6cb41d !important;
    color: #fff !important;
}


@media only screen and (max-width: 900px) {
    .field-label {
        color: #dcdcdc;
        display: block;
        font-size: 28px;
        font-weight: 600;
        margin: 0 0 3px 0;
        padding: 5px 0;
        text-align: left;
    }

    .field-input {
        border: 1px solid #e6e6e6;
        border-radius: 5px;
        display: block;
        font-size: 18px;
        height: 48px;
        padding: 0 16px;
        width: 100px;
        outline: none;
    }

    #termin {
        font-size: 28px;
    }

    #reservation-input {
        margin-bottom: 20px;
        width: 100%;
    }

    #wrapper {
        width: 350px;
    }


    /* .reservation,
    .selected,
    .blocked {
        padding: 5px;
        font-size: 28px;
        margin-bottom: 5px;
        height: 114px;
    } */

    .reservation,
    .selected,
    .blocked {
        padding: 5px;
        font-size: 28px;
        margin-bottom: 5px;
        height: 80px;
    }

    .field-input {
        width: 100%;
    }

    #people-select {
        margin-bottom: 5px;
    }

    #single-price {
        font-size: 28px;
        margin-bottom: 10px;
    }

    #dodaj {
        background-color: #7ED321;
        border: none;
        border-radius: 5px;
        color: #fff;
        cursor: pointer;
        font-size: 22px;
        width: 350px;
        height: 90px;
        text-transform: none;
    }

    .error {
        font-size: 40px;
    }

    #mobile-nav {
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    #next {
        background-color: #7ED321;
        border: none;
        border-radius: 5px;
        color: #fff;
        cursor: pointer;
        font-size: 22px;
        letter-spacing: 0;
        height: 90px;
        width: 165px;
        margin-top: 20px;
        text-transform: none;
    }

    #prev {
        background-color: #7ED321;
        border: none;
        border-radius: 5px;
        color: #fff;
        cursor: pointer;
        font-size: 22px;
        letter-spacing: 0;
        height: 90px;
        width: 165px;
        text-transform: none;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #calendar-nav {
        flex-direction: column;
        align-items: center;
    }

    .reservation-inputs-container {
        width: 100%;
    }


    #weekDays {
       flex-direction: column;
    }
}
