/* GŁÓWNE USTAWIENIA */
body {
    background: #fdfcfb; /* Bardzo delikatny off-white dla lepszego kontrastu z białą kartą */
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

:root {
    --brand-green: rgb(136, 157, 144);
    --brand-green-dark: rgb(110, 130, 120);
    --brand-beige: rgb(227, 218, 204);
    --brand-beige-light: rgba(227, 218, 204, 0.4);
    --text-main: #445;
}

/* WRAPPER - EFEKT KARTY PREMIUM */
.booking-wrapper {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04), 0 5px 15px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TYPOGRAFIA */
h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #5d5463; /* Twoje #887D90 przyciemnione dla czytelności */
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.1rem;
    color: #8a9693;
    margin-bottom: 40px;
    line-height: 1.6;
}

.step {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--brand-green);
    font-weight: 700;
    margin-bottom: 15px;
}

/* KALENDARZ - NOWOCZESNY GRID */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f7f5;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-day.available {
    background: var(--brand-beige-light);
    color: var(--text-main);
}

.calendar-day.available:hover {
    background: var(--brand-green);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(136, 157, 144, 0.2);
}

.calendar-day.selected {
    background-color: var(--brand-green-dark) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* PRZYCISKI GODZIN */
.hours {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.hour-btn {
    padding: 12px;
    border-radius: 12px;
    background: #f8f7f5;
    color: var(--text-main);
    border: 1px solid #eee;
    font-weight: 600;
    transition: 0.3s;
}

.hour-btn:hover {
    background: var(--brand-green);
    color: white;
    border-color: var(--brand-green);
}

.hour-btn.selected-hour {
    background: var(--brand-green-dark);
    border-color: var(--brand-green-dark);
}

/* PODSUMOWANIE (SUMMARY-BOX) */
.details-box {
    background: #ffffff;
    border: 1px solid #f0efeb;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
}

.details-box p {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f9f8f6;
    padding-bottom: 8px;
}

.details-box p strong {
    color: #887D90;
    font-weight: 500;
}

/* PRZYCISKI AKCJI */
.confirm-btn, .actions button {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
    padding: 16px 40px;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(136, 157, 144, 0.3);
    border: none;
}

.confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(136, 157, 144, 0.4);
    filter: brightness(1.05);
}

.back-btn {
    color: #888;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* EFEKT GLOW DLA CENY */
.price-amount {
    font-size: 1.4rem;
    color: var(--brand-green-dark);
    text-shadow: 0 0 20px rgba(136, 157, 144, 0.1);
}

/* MEDIA QUERIES */
@media (max-width: 600px) {
    .booking-wrapper {
        padding: 30px 20px;
        margin: 10px;
        border-radius: 20px;
    }
    h1 { font-size: 1.6rem; }
}