.booking-widget,
.booking-widget * {
    box-sizing: border-box;
}

.booking-widget * {
    margin: 0;
    padding: 0;
}

.booking-widget {
    --background: #fffafa;
    --foreground: #2d2d2d;
    --primary: #d4af37;
    --secondary: #f5f5dc;
    --accent: #fff0f5;
    --muted: #f9f9f9;
    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;
    font-family: var(--font-body);
    color: var(--foreground);
    background: #fafafa;
    padding: 3rem 1.5rem;
    min-height: 600px;
}

.booking-container {
    max-width: 56rem;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-header h1 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.booking-header p {
    color: rgba(45, 45, 45, 0.6);
    font-size: 1rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(45, 45, 45, 0.7);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #f0f0f0;
    background: #fff;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 28rem;
    margin: 0 auto 3rem;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e5e5;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    position: relative;
}

.progress-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s;
    background: white;
    border: 2px solid #e5e5e5;
    color: #d1d1d1;
}

.progress-circle.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.progress-label {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: #d1d1d1;
}

.progress-label.active {
    color: var(--primary);
}

.booking-card {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    min-height: 500px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.step-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.back-button {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1.5rem;
    padding: 0;
    text-decoration: none;
}

.back-button:hover {
    text-decoration: underline;
}

.service-grid {
    display: grid;
    gap: 1rem;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid #f5f5f5;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    background: #fafafa;
}

.service-card.selected {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.service-info h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.service-info p {
    font-size: 0.875rem;
    color: rgba(45, 45, 45, 0.5);
}

.service-price-section {
    text-align: right;
}

.service-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

.service-arrow {
    width: 1.25rem;
    height: 1.25rem;
    color: #d1d1d1;
    margin-left: auto;
    margin-top: 0.25rem;
    transition: color 0.3s;
}

.service-card:hover .service-arrow {
    color: var(--primary);
}

.datetime-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .datetime-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.datetime-section h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.date-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #f5f5f5;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.date-button:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.date-button.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.date-day {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.6;
}

.date-number {
    font-size: 1.125rem;
    font-weight: 700;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.time-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 2px solid #f5f5f5;
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.time-button:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.time-button.selected {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
    color: var(--primary);
}

.time-button:disabled,
.time-button.disabled {
    cursor: not-allowed;
    opacity: 0.6;
    background: #f5f5f5;
    border-color: #eeeeee;
    color: #b3b3b3;
}

.no-slots {
    padding: 1rem;
    background: #fafafa;
    border-radius: 0.75rem;
    border: 1px dashed #e5e5e5;
    color: rgba(45, 45, 45, 0.6);
    font-size: 0.9rem;
    text-align: center;
}

.mlbw-success-card {
    text-align: center;
    padding: 3rem;
}

.mlbw-success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.mlbw-success-text {
    color: rgba(45, 45, 45, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

.time-icon {
    width: 1rem;
    height: 1rem;
}

.confirmation-summary {
    background: #fafafa;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.summary-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-label {
    color: rgba(45, 45, 45, 0.6);
}

.summary-value {
    font-weight: 700;
}

.summary-total {
    font-size: 1.125rem;
}

.summary-total .summary-value {
    font-family: var(--font-heading);
    color: var(--primary);
}

.policy-box {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.policy-box p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.policy-title {
    font-weight: 700;
    color: var(--primary);
}

.primary-button {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 1rem;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.primary-button:hover {
    background: rgba(212, 175, 55, 0.9);
}

.primary-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .booking-card {
        padding: 2rem 1.5rem;
    }

    .booking-header h1 {
        font-size: 1.875rem;
    }

    .date-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
