.bedramon-booking {
    --bedramon-green: #42634f;
    --bedramon-ink: #24342b;
    --bedramon-stone: #f4efe7;
    --bedramon-line: #d8d0c3;
    --bedramon-clay: #a86445;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 24px;
    align-items: start;
    margin: 32px auto;
    color: var(--bedramon-ink);
    font-family: Georgia, "Times New Roman", serif;
}

.bedramon-booking * {
    box-sizing: border-box;
}

.bedramon-booking__calendar,
.bedramon-booking__form {
    border: 1px solid var(--bedramon-line);
    background: linear-gradient(180deg, #fffaf2 0%, var(--bedramon-stone) 100%);
    border-radius: 8px;
    padding: 20px;
}

.bedramon-calendar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.bedramon-calendar__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.bedramon-calendar__nav {
    display: flex;
    gap: 8px;
}

.bedramon-calendar__nav button,
.bedramon-booking__form button {
    border: 0;
    border-radius: 6px;
    background: var(--bedramon-green);
    color: #fff;
    cursor: pointer;
    font: inherit;
    min-height: 42px;
    padding: 10px 14px;
}

.bedramon-calendar__nav button:hover,
.bedramon-booking__form button:hover {
    background: #314d3c;
}

.bedramon-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.bedramon-calendar__weekday {
    color: #6d786f;
    font-size: 0.82rem;
    text-align: center;
}

.bedramon-calendar__day {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--bedramon-line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--bedramon-ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 0;
}

.bedramon-calendar__day.is-empty {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

.bedramon-calendar__day.is-past,
.bedramon-calendar__day.is-busy {
    background: #e6ded3;
    color: #8b8378;
    cursor: not-allowed;
    text-decoration: line-through;
}

.bedramon-calendar__day.is-selected,
.bedramon-calendar__day.is-in-range {
    background: var(--bedramon-green);
    color: #fff;
    text-decoration: none;
}

.bedramon-calendar__day.is-edge {
    outline: 2px solid var(--bedramon-clay);
}

.bedramon-booking__form {
    display: grid;
    gap: 14px;
}

.bedramon-booking__form h2 {
    margin: 0;
    font-size: 1.4rem;
}

.bedramon-booking__summary {
    border-left: 3px solid var(--bedramon-clay);
    color: #4b554d;
    padding-left: 12px;
}

.bedramon-booking__form label {
    display: grid;
    gap: 6px;
    font-size: 0.95rem;
}

.bedramon-booking__form input,
.bedramon-booking__form textarea {
    border: 1px solid var(--bedramon-line);
    border-radius: 6px;
    font: inherit;
    padding: 10px 12px;
    width: 100%;
}

.bedramon-booking__notice {
    margin: 0;
    min-height: 24px;
}

.bedramon-booking__notice.is-error {
    color: #9d2f20;
}

.bedramon-booking__notice.is-success {
    color: var(--bedramon-green);
}

.bedramon-admin-form {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 24px;
}

.bedramon-admin-form label {
    display: grid;
    gap: 4px;
}

@media (max-width: 780px) {
    .bedramon-booking {
        grid-template-columns: 1fr;
    }

    .bedramon-booking__calendar,
    .bedramon-booking__form {
        padding: 16px;
    }

    .bedramon-calendar__day {
        border-radius: 4px;
        font-size: 0.9rem;
    }
}
