.kcs-booking-app {
    --kcs-primary: #1e3a8a;
    --kcs-accent: #059669;
    --kcs-bg: #f8fafc;
    --kcs-text: #172033;
    color: var(--kcs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px;
}

.kcs-booking-app * {
    box-sizing: border-box;
}

.kcs-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 32px;
    align-items: start;
}

.kcs-info,
.kcs-panel,
.kcs-success {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.kcs-info {
    padding: 32px;
}

.kcs-panel {
    padding: 24px;
}

.kcs-logo {
    max-height: 54px;
    width: auto;
    margin-bottom: 18px;
}

.kcs-info h2,
.kcs-success h2 {
    color: var(--kcs-primary);
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.kcs-description {
    color: #475569;
    font-size: 17px;
    margin: 0 0 24px;
}

.kcs-detail-list {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
}

.kcs-detail {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #334155;
}

.kcs-detail span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--kcs-accent);
    flex: 0 0 auto;
}

.kcs-expectations h3,
.kcs-panel h3,
.kcs-panel h4,
.kcs-booking-form h4 {
    color: var(--kcs-primary);
    margin: 0 0 14px;
}

.kcs-expectations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kcs-expectations li {
    border-top: 1px solid #e5e7eb;
    padding: 10px 0;
    color: #475569;
}

.kcs-panel-header {
    margin-bottom: 18px;
}

.kcs-muted {
    color: #64748b;
    margin: 0;
}

.kcs-booking-form input,
.kcs-booking-form select,
.kcs-booking-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-height: 42px;
    padding: 9px 10px;
    font: inherit;
}

.kcs-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kcs-calendar-header h4 {
    margin: 0;
}

.kcs-icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: var(--kcs-primary);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.kcs-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 20px;
}

.kcs-day {
    aspect-ratio: 1;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #334155;
    font: inherit;
    min-width: 0;
}

.kcs-day-heading {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kcs-empty {
    border: 0;
    background: transparent;
}

.kcs-day.is-available {
    background: #fff;
    cursor: pointer;
}

.kcs-day.is-available:hover,
.kcs-day.is-selected,
.kcs-slot.is-selected {
    background: var(--kcs-primary);
    border-color: var(--kcs-primary);
    color: #fff;
}

.kcs-day.is-unavailable {
    color: #cbd5e1;
    cursor: not-allowed;
}

.kcs-slots {
    margin-bottom: 20px;
}

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

.kcs-slot {
    min-height: 42px;
    border: 1px solid var(--kcs-primary);
    border-radius: 6px;
    background: #fff;
    color: var(--kcs-primary);
    cursor: pointer;
    font-weight: 600;
}

.kcs-booking-form {
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
    display: grid;
    gap: 14px;
}

.kcs-booking-form label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-weight: 600;
}

.kcs-selected-time {
    background: var(--kcs-bg);
    border-left: 4px solid var(--kcs-accent);
    border-radius: 6px;
    margin: 0;
    padding: 12px;
}

.kcs-primary-btn,
.kcs-secondary-btn {
    border: 0;
    border-radius: 6px;
    min-height: 46px;
    padding: 11px 16px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.kcs-primary-btn {
    background: var(--kcs-accent);
    color: #fff;
}

.kcs-primary-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.kcs-secondary-btn {
    background: var(--kcs-primary);
    color: #fff;
}

.kcs-form-message,
.kcs-error {
    color: #b91c1c;
}

.kcs-success {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px;
    text-align: center;
}

@media (max-width: 820px) {
    .kcs-booking-app {
        padding: 12px;
    }

    .kcs-shell {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .kcs-info,
    .kcs-panel {
        padding: 20px;
    }

    .kcs-info h2 {
        font-size: 25px;
    }

    .kcs-slot-grid {
        grid-template-columns: 1fr;
    }
}
