/* ============================================
   WiFiHapa - Book a service (booking.php)
   Colours come from the variables in layout.css, so dark mode follows automatically.
   ============================================ */

.booking-hero {
    background: var(--hero-bg);
    border-radius: 40px;
    padding: 2.2rem 2rem;
    margin: 1.5rem 0 2rem;
}

.booking-badge {
    display: inline-block;
    background: #0b2b40;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.booking-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.booking-step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.booking-input {
    border-radius: 14px;
    padding: 0.65rem 0.9rem;
    background-color: var(--input-bg);
    color: var(--text-primary);
}

.booking-error {
    margin-top: 1rem;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    background: #fde8ea;
    color: #b02a37;
    font-weight: 600;
    font-size: 0.9rem;
}

body.dark .booking-error {
    background: #3a1a1f;
    color: #ff8a95;
}

.btn-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: none;
    border-radius: 50px;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.btn-booking:hover {
    background: #0b5ed7;
    color: #fff;
}

.btn-booking:disabled {
    opacity: 0.7;
}

.btn-booking.outline {
    background: transparent;
    color: #0d6efd;
    border: 2px solid #0d6efd;
}

.btn-booking.outline:hover {
    background: #0d6efd;
    color: #fff;
}

.btn-booking.whatsapp {
    background: #128c4a;
}

.btn-booking.whatsapp:hover {
    background: #0e7a40;
}

/* Summary */
.booking-summary {
    position: sticky;
    top: 1.5rem;
}

.summary-service {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: var(--badge-light-bg);
}

.summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.summary-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-secondary);
}

.summary-name {
    font-weight: 700;
}

.summary-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.summary-price strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0d6efd;
}

body.dark .summary-price strong {
    color: #6dafff;
}

.summary-type {
    margin: 0.75rem 0 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.summary-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.summary-steps {
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.summary-steps li {
    margin-bottom: 0.4rem;
}

/* Confirmation */
.booking-done-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    border-radius: 50%;
    background: #e1f5e8;
    color: #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

body.dark .booking-done-icon {
    background: #1a3a2a;
    color: #4cd38a;
}

.booking-ref {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    background: var(--badge-light-bg);
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 991.98px) {
    .booking-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .booking-hero {
        border-radius: 28px;
        padding: 1.5rem 1.25rem;
    }

    .booking-card {
        padding: 1.25rem;
        border-radius: 22px;
    }
}
