/* Booking Container */
.bg-dark {
    background-color: #050507;
    color: #fff;
}
.booking-container {
    max-width: 1200px;
    margin: 100px auto 40px auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.booking-header {
    margin-bottom: 40px;
}
.booking-header p {
    color: #a0a0a0;
    max-width: 600px;
    margin: 10px auto;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}
@media (max-width: 900px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.p-4 { padding: 24px; }
.mb-4 { margin-bottom: 24px; }
.mt-4 { margin-top: 24px; }
.mt-2 { margin-top: 12px; }
.text-center { text-align: center; }

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
}
.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.input-group label {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 8px;
}
.input-group input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
}
.input-group input:focus {
    outline: none;
    border-color: #8a2be2;
    background: rgba(0, 0, 0, 0.8);
}

/* Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}
.service-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.service-item.selected {
    border-color: #8a2be2;
    background: rgba(138, 43, 226, 0.1);
}
.service-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.05rem;
}
.service-info p {
    margin: 0;
    color: #a0a0a0;
    font-size: 0.9rem;
}
.service-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

/* Promo */
.promo-box {
    display: flex;
    gap: 10px;
}
.promo-box input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
}
.promo-box input:focus { outline: none; border-color: #8a2be2; }
.promo-message {
    margin-top: 10px;
    font-size: 0.9rem;
}
.promo-success { color: #2ecc71; }
.promo-error { color: #e74c3c; }

/* Sticky Summary */
.sticky-top {
    position: sticky;
    top: 100px;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.95rem;
}
.summary-services-list {
    margin-bottom: 15px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 2px solid rgba(255,255,255,0.2);
}
hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}
.total-line {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.discount-line { color: #ff4757; }
.hidden { display: none !important; }

.btn-full { width: 100%; }
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hidden PDF Template Styling (Visible only when generating) */
#invoice-pdf-template {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1000;
    background: #050507;
    color: #fff;
    width: 800px;
    font-family: 'Inter', sans-serif;
}
.invoice-box {
    padding: 40px;
    background: #111;
    border: 1px solid #333;
}
.invoice-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #8a2be2;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.invoice-header h2 {
    background: linear-gradient(90deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}
.invoice-header p {
    color: #aaa;
    margin: 0;
    font-size: 0.9rem;
}
.invoice-details {
    margin-bottom: 30px;
}
.bill-to h3 {
    color: #8a2be2;
    margin: 0 0 10px 0;
    font-size: 1rem;
    letter-spacing: 1px;
}
.bill-to p {
    margin: 3px 0;
    color: #ddd;
}
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.invoice-table th {
    background: rgba(138, 43, 226, 0.1);
    padding: 12px;
    color: #8a2be2;
    border-bottom: 1px solid #333;
}
.invoice-table td {
    padding: 12px;
    border-bottom: 1px solid #222;
    color: #eee;
}
.invoice-totals {
    width: 350px;
    margin-left: auto;
}
.invoice-totals .total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #ccc;
}
.invoice-totals .grand-total {
    border-top: 2px solid #333;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}
.invoice-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}
