* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background: linear-gradient(135deg, #f6e9dd 0%, #ebd6c4 100%);
    color: #5f3f37;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

header,
footer,
.card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 35px rgba(95, 63, 55, 0.12);
}

header {
    text-align: center;
    padding: 42px 24px;
    border-radius: 24px;
    margin-bottom: 30px;
}

h1 {
    font-family: "Brush Script MT", cursive;
    font-size: 3.8rem;
    color: #8b5a4a;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.1rem;
    letter-spacing: 0.28rem;
    text-transform: uppercase;
    color: #b78072;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1rem;
    color: #8d6a60;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.card {
    border-radius: 20px;
    padding: 30px;
}

h2 {
    font-family: "Brush Script MT", cursive;
    font-size: 2.6rem;
    color: #8b5a4a;
    text-align: center;
    margin-bottom: 22px;
}

.price-section + .price-section {
    margin-top: 24px;
}

.price-section h3,
.schedule-board h3,
.total-price h3 {
    color: #a46759;
    margin-bottom: 14px;
}

.price-section h3 {
    font-size: 1.4rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1dfd6;
}

.price-item:last-child {
    border-bottom: none;
}

.service-name,
.price {
    font-weight: 700;
}

.price {
    color: #8b5a4a;
}

.schedule-board {
    background: linear-gradient(180deg, #fffaf7 0%, #f8ede6 100%);
    border: 1px solid #f0ddd2;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 24px;
}

.schedule-copy {
    color: #8d6a60;
    margin-bottom: 18px;
    line-height: 1.5;
    text-align: center;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.day-card {
    background: #ffffff;
    border: 1px solid #f0ddd2;
    border-radius: 16px;
    padding: 16px;
}

.day-card h4 {
    color: #8b5a4a;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.time-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.time-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8e1db;
    color: #a24658;
    font-size: 0.95rem;
    font-weight: 700;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

label {
    display: block;
    font-weight: 700;
    color: #5f3f37;
    margin-bottom: 6px;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid #e5cfc2;
    border-radius: 12px;
    background: #fffdfc;
    color: #5f3f37;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #b78072;
    box-shadow: 0 0 0 4px rgba(183, 128, 114, 0.12);
}

select:disabled,
button:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

select:disabled {
    background: #f4efeb;
    color: #9b8178;
}

.field-hint {
    margin-top: 8px;
    color: #8d6a60;
    font-size: 0.95rem;
    line-height: 1.4;
}

.service-selector {
    display: grid;
    gap: 10px;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #faf6f3;
    border: 1px solid #f0ddd2;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.service-checkbox:hover {
    background: #f6ece7;
    border-color: #e8c9bc;
}

.service-checkbox input[type="checkbox"] {
    width: auto;
    accent-color: #b85d6a;
}

.total-price {
    background: linear-gradient(135deg, #fdf5f1 0%, #f7e6de 100%);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
}

.total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #8b5a4a;
}

button {
    border: none;
    border-radius: 14px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #b85d6a 0%, #8b5a4a 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(184, 93, 106, 0.24);
}

.feedback {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 14px;
    line-height: 1.5;
    font-weight: 700;
}

.feedback-success {
    background: #edf8ee;
    border: 1px solid #cae8d0;
    color: #2f6d3b;
}

.feedback-error {
    background: #fff1f1;
    border: 1px solid #f3c8c8;
    color: #a33a3a;
}

.feedback-info {
    background: #fff8e8;
    border: 1px solid #eed9a4;
    color: #8a6731;
}

.manager-panel {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #f0ddd2;
}

.manager-panel h3 {
    color: #a46759;
    margin-bottom: 10px;
}

.manager-copy {
    color: #8d6a60;
    line-height: 1.5;
    margin-bottom: 14px;
}

.manager-controls {
    margin-bottom: 12px;
}

.booking-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.booking-item {
    border: 1px solid #f0ddd2;
    border-radius: 14px;
    background: #fffaf7;
    padding: 16px;
}

.booking-item-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.booking-time {
    color: #8b5a4a;
    font-size: 1.05rem;
}

.booking-name {
    font-weight: 700;
    color: #5f3f37;
    margin-bottom: 4px;
}

.booking-meta,
.booking-services,
.booking-notes {
    color: #8d6a60;
    line-height: 1.5;
    font-size: 0.95rem;
}

.release-button {
    width: auto;
    padding: 10px 16px;
    font-size: 0.95rem;
    border-radius: 12px;
}

footer {
    text-align: center;
    border-radius: 20px;
    padding: 28px 24px;
}

footer p + p {
    margin-top: 6px;
}

.footer-copy {
    color: #8d6a60;
}

@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 16px;
    }

    header,
    .card,
    footer {
        padding: 22px 18px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .booking-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .release-button {
        width: 100%;
    }
}
