* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

#form {
    padding-top: 188px;
}

#form h1 {
    font-size: 56px;
    margin-bottom: 72px;
    line-height: 118%;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    margin: auto;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    grid-column: span 8;
    border-radius: 18px;
    padding: 64px 120px 48px 120px;
    background: #292929;
    background: linear-gradient(180deg, rgba(41, 41, 41, 0.64) 0%, rgba(41, 41, 41, 1) 100%);
}

.information-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-text {
    font-size: 18px;
    line-height: 120%;
    color: #B6B6B6;
    text-align: center;
}

.form-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.time-slots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.form-cards .hover-card, .time-slots .hover-card {
    padding: 4px;
    background-color: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: 10px;
}

.form-cards .hover-card:hover, .time-slots .hover-card:hover {
    border: 1px solid white;
    background-color: rgba(255, 255, 255, 0.14);
}

.form-cards .card, .time-slots .card {
    color: white;
    padding: 16px 14px;
    border-radius: 10px;
    background-color: #1B1B1B;
    font-size: 16px;
    font-weight: 700;
    line-height: 118%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-cards .card .card-number {
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
}

.form-cards button, .time-slots button {
    cursor: pointer;
}

.form-cards .hover-card.active, .time-slots .hover-card.active {
    border: 1px solid #FFD500 !important;
    background-color: rgba(255, 213, 0, 0.1) !important;
}

.form-cards .hover-card.active .card, .time-slots .hover-card.active .card {
    background-color: #FFD500 !important;
    color: #1B1B1B !important;
}

.form-cards .hover-card.obsaden .card, .time-slots .hover-card.obsadeny .card {
    color: #ff3700 !important;
}

.time-slots .card {
    width: 80px;
}

.time-slots .card {
    text-align: center;
}

.info-notice {
    background: #FFD500;
    background: linear-gradient(90deg, rgba(255, 213, 0, 1) 0%, rgba(255, 213, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 4px;
    color: #1B1B1B;
    font-size: 16px;
    line-height: 129%;
    max-width: fit-content;
    margin: auto;
    border-radius: 6px;   
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.order-form .date, .order-form .type, .order-form .time, .order-form .inputs {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.order-form .process {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-form .process .number {
    border-radius: 100%;
    border: 1px solid #FFD500;
    height: 34px;
    width: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-form .process {
    color: white;
    font-weight: 700;
    font-size: 20px;
    line-height: 118%;
}

.input-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
}

.relative {
    position: relative;
}

.input-grid label {
    position: absolute;
    top: -10px;
    left: 16px;
    color: white;
    font-size: 14px;
    padding: 2px 6px;
    background: linear-gradient(180deg, rgba(41, 41, 41, 0.64) 0%, rgba(41, 41, 41, 1) 100%);
}

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
    padding: 14px 8px 14px 16px;
    border-radius: 6px;
    border: 1px solid #6E6E6E;
    color: white;
    background: transparent;
    font-size: 16px;
    line-height: 129%;
    width: 100%;
    outline: none;
}

select {
    color: #969696;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cg clip-path='url(%23clip0_8650_28)'%3e%3cpath d='M7 10L12 15L17 10H7Z' fill='%236E6E6E'/%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0_8650_28'%3e%3crect width='24' height='24' fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px 24px;
}

textarea {
    min-height: 100px;
    min-width: 100%;
    max-width: 100%;
}

input[type="text"]::placeholder, input[type="tel"]::placeholder, input[type="email"]::placeholder, textarea::placeholder {
    color: #969696;
    font-size: 16px;
    line-height: 129%;
}

.col-span-1 {
    grid-column: span 1;
}

.col-span-2 {
    grid-column: span 2;
}

hr {
    color: #3C3C3C;
}

a {
    color: #fff;
}

.vanilla-calendar-month {
    color: #fff !important;
}

.vanilla-calendar-year {
    color: #fff !important;
}
.order-summary {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    color: white;
    font-size: 16px;
    line-height: 129%;
}

.order-detail {
    color: #1B1B1B;
    border-radius: 4px;
    padding: 2px 6px;
    background: #FFD500;
}

.gdpr {
    display: flex;
    gap: 12px;
}

.gdpr-text {
    color: white;
    font-size: 12px;
    line-height: 125%;
}

.gdpr-link {
    color: white;
    text-decoration: underline;
    transition: all 0.25s ease;
}

.gdpr-link:hover {
    opacity: 0.7;
}

input[type="checkbox"] {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid white;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked {
    background: white;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #1B1B1B;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.btn {
    background-color: #FFD500;
    border-radius: 68px;
    padding: 14px 28px;
    width: 100%;
    color: #1B1B1B;
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
    border: 1px solid #FFD500;
    transition: all 0.25s ease;
    cursor: pointer;
    margin-top: 8px;
}

.btn:hover {
    opacity: 0.9;
}   

.calendar {
    width: 100%;
    padding: 0;
    border-radius: 10px;
}

.vanilla-calendar-header {
    margin-bottom: 0px;
    padding: 22px 32px 22px 32px;
    background-color: #171717;
    border-bottom: 1px solid #3C3C3C;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.vanilla-calendar-month, .vanilla-calendar-year {
    font-size: 18px;
    color: white;
    line-height: 128%;
    transition: all 0.25s ease;
}

.vanilla-calendar-month:hover, .vanilla-calendar-year:hover {
    color: #FFD500 !important;
}

.vanilla-calendar-arrow {
    background-color: #FFD500 !important;
    border-radius: 100%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.vanilla-calendar-arrow:hover {
    opacity: 0.9;
}

.vanilla-calendar-arrow::before {
    display: none;
}

.vanilla-calendar-arrow_prev {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_8004_6963)'%3E%3Cpath d='M14 17L9 12L14 7V17Z' fill='%231B1B1B'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_8004_6963'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.vanilla-calendar-arrow_next {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_8004_6963)'%3E%3Cpath d='M10 17L15 12L10 7V17Z' fill='%231B1B1B'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_8004_6963'%3E%3Crect width='24' height='24' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.vanilla-calendar-wrapper {
    padding: 8px 32px 32px 32px;
    background-color: #1B1B1B;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.vanilla-calendar-week {
    margin-bottom: 0;
    padding: 8px 0;
}

.vanilla-calendar-week__day, .vanilla-calendar-week__day_weekend {
    font-size: 14px;
    font-weight: 700;
    color: #969696 !important;
}

.vanilla-calendar-days {
    column-gap: 10px !important;
    row-gap: 0 !important;
}

.vanilla-calendar-day {
    padding: 4px 0;
}

.vanilla-calendar-day__btn, .vanilla-calendar-day__btn_weekend {
    font-size: 16px;
    height: 42px !important;
    width: 100%;
    color: white !important;
    background-color: transparent !important;
    transition: all 0.25s ease !important;
    border-radius: 6px;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.vanilla-calendar-day__btn:hover {
    color: #1B1B1B !important;
    background-color: #FFD500 !important;
}

.vanilla-calendar-day__btn_today {
    color: #FFD500 !important;
}

.vanilla-calendar-day__btn_selected {
    color: #1B1B1B !important;
    background-color: #FFD500 !important;
}

.vanilla-calendar-day__btn_disabled {
    color: #6E6E6E !important;
}

.error {
    border: 2px solid #d23a19 !important;
    -webkit-box-shadow: 0px 0px 3px 1px rgb(210, 58, 25);
    -moz-box-shadow: 0px 0px 3px 1px rgba(210,58,25,1);
    box-shadow: 0px 0px 3px 1px rgba(210,58,25,1);
}
#popup {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: rgba(0,0,0,0.75);
}
#popup .content {
    margin: 3rem 25%;
}
.popup-button {
    background-color: #FFD500;
    color: #000;
    padding: 16px 32px;
    margin-top: 1rem;
    display: inline-block;
}

@media (max-width: 768px) {
    #form h1 {
        font-size: 32px;
    }

    .form-grid {
        display: block;
    }

    .form-content {
        padding: 32px 24px;
    }

    .form-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-notice {
        font-size: 14px;
    }

    .vanilla-calendar-wrapper {
        padding: 8px 16px 16px 16px;
    }

    input[type="checkbox"] {
        width: 32px;
        height: 16px;
    }

    .col-span-1 {
        grid-column: span 2;
    }

}
