

 /* Main Card */
        .card-box {
            background: #fff;
            border-radius: 18px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
            overflow: hidden
        }

        /* Header */
        .card-header {
            padding: 24px 28px;
            background: linear-gradient(135deg, #4338ca, #6366f1);
            color: #fff;
            font-weight: 600;
            font-size: 20px;
            display: flex;
            align-items: center;
            gap: 12px
        }

        .card-header span {
            background: rgba(255, 255, 255, .15);
            padding: 8px 10px;
            border-radius: 10px;
            font-size: 18px
        }

        .card-body {
            padding: 30px
        }

        /* Sections */
        .section-title {
            font-size: 13px;
            font-weight: 600;
            color: #6b7280;
            margin: 30px 0 12px;
            text-transform: uppercase;
            letter-spacing: .05em
        }

        /* Inputs */
        .form-label {
            font-size: 14px;
            font-weight: 600;
            color: #374151
        }

        .form-control,
        select {
            border-radius: 12px;
            padding: 11px 14px;
            border: 1px solid #d1d5db
        }

        .form-control:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, .15)
        }

        /* Devotee Found Card */
        .devotee-preview {
            background: #eef2ff;
            border: 1px solid #c7d2fe;
            padding: 16px;
            border-radius: 14px
        }

        .devotee-preview strong {
            color: #3730a3;
            font-size: 16px
        }

        .devotee-preview small {
            color: #475569
        }

        /* Footer */
        .form-footer {
            padding: 20px 30px;
            background: #f9fafb;
            border-top: 1px solid #e5e7eb;
            display: flex;
            justify-content: flex-end
        }

        /* Buttons */
        .btn-primary {
            background: #4f46e5;
            border: none;
            padding: 10px 26px;
            font-weight: 600;
            border-radius: 12px
        }

        .btn-primary:hover {
            background: #4338ca
        }

        .hidden {
            display: none
        }

        /* Mobile */
        @media(max-width:768px) {
            .card-body {
                padding: 22px
            }

            .form-footer {
                flex-direction: column
            }

            .btn-primary {
                width: 100%
            }
        }

        /* Status Messages */
        .status-box {
            padding: 14px 16px;
            border-radius: 12px;
            font-size: 14px;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .status-success {
            background: #ecfdf5;
            border: 1px solid #6ee7b7;
            color: #065f46
        }

        .status-info {
            background: #eff6ff;
            border: 1px solid #93c5fd;
            color: #1e3a8a
        }

        .status-icon {
            font-size: 18px
        }

        /* Smooth transitions */
        .devotee-preview,
        .status-box,
        #newDevoteeBox,
        #existingDevoteeBox {
            transition: all .25s ease-in-out;
        }

        /* Input helper hint */
        .input-hint {
            font-size: 12px;
            color: #6b7280;
            margin-top: 4px;
        }

        /* Divider */
        .soft-divider {
            height: 1px;
            background: linear-gradient(to right, transparent, #e5e7eb, transparent);
            margin: 28px 0;
        }

        /* Step badge */
        .step-badge {
            display: inline-block;
            background: #eef2ff;
            color: #4338ca;
            padding: 4px 10px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 600;
            margin-right: 8px;
        }

        #existingFamilyList .form-check {
            padding: 10px;
            border-radius: 10px;
            background: #f8fafc;
        }

        #existingFamilyList .form-check:hover {
            background: #eef2ff;
        }

        .table th {
            font-size: 13px;
            font-weight: 600;
            color: #374151;
        }

        .table td {
            font-size: 14px;
        }

        .table tbody tr:hover {
            background: #f8fafc;
        }

        input[type="checkbox"] {
            transform: scale(1.1);
        }


        /* ===== BOOKING PAGE ===== */
.booking-section {
    background: linear-gradient(to bottom, #fffaf0, #fff);
    padding: 60px 0;
    font-family: 'Poppins', sans-serif;
}

.booking-wrapper {
    display: flex;
    justify-content: center;
}

.booking-card {
    width: 100%;
    max-width: 980px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
    overflow: hidden;
}

/* HEADER */
.booking-card .card-header {
    background: linear-gradient(135deg, #cfa44a, #e7c873);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 20px 26px;
}

/* BODY */
.booking-card .card-body {
    padding: 28px;
}

/* STEP TITLE */
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #7c2d12;
    margin: 30px 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-badge {
    background: #fde68a;
    color: #92400e;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* INPUTS */
.form-label {
    font-weight: 500;
    color: #374151;
}

.form-control {
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
}

.form-control:focus {
    border-color: #cfa44a;
    box-shadow: 0 0 0 2px rgba(207,164,74,.15);
}

/* STATUS BOX */
.status-box {
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
}

.status-success {
    background: #ecfdf5;
    color: #065f46;
}

.status-info {
    background: #eff6ff;
    color: #1e40af;
}

/* DEVOTEE PREVIEW */
.devotee-preview {
    background: #f9fafb;
    padding: 14px 18px;
    border-radius: 12px;
    border-left: 4px solid #cfa44a;
}

/* DIVIDER */
.soft-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    margin: 30px 0;
}

/* FOOTER */
.form-footer {
    background: #fafafa;
    padding: 20px;
    text-align: center;
}

/* BUTTON */
.form-footer .btn-primary {
    background: linear-gradient(135deg, #cfa44a, #e7c873);
    border: none;
    padding: 12px 34px;
    font-size: 16px;
    border-radius: 30px;
}

.form-footer .btn-primary:hover {
    opacity: .9;
}

/* FAMILY BOX */
#familyMembersContainer .row {
    background: #fffaf0;
}

/* MOBILE */
@media (max-width: 768px) {
    .booking-card {
        border-radius: 0;
    }
}


/* ===== UPI QR CARD ===== */
.upi-pay-card {
    max-width: 360px;
    background: linear-gradient(145deg, #fffdf8, #fff4dc);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25);
    padding: 24px 22px 26px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    animation: fadeUp 0.6s ease;
}

/* Header */
.upi-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #8b6508;
    font-size: 16px;
    margin-bottom: 14px;
}

.upi-header i {
    font-size: 20px;
    color: #d4af37;
}

/* QR Wrapper */
.upi-qr-wrapper {
    background: #ffffff;
    padding: 18px;
    border-radius: 16px;
    border: 2px dashed #d4af37;
    display: inline-block;
}

/* QR Image */
.upi-qr-img {
    width: 220px;
    max-width: 100%;
    border-radius: 12px;
}

/* Info */
.upi-info {
    margin-top: 14px;
}

.upi-id {
    font-size: 15px;
    margin-bottom: 6px;
}

.upi-id strong {
    color: #b88900;
}

.upi-note {
    font-size: 13px;
    color: #6b7280;
}

/* Blessing */
.upi-blessing {
    margin-top: 16px;
    font-size: 13px;
    color: #8b6508;
    background: rgba(212, 175, 55, 0.15);
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-block;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.error-text {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
}

.is-invalid {
    border-color: #dc2626 !important;
}

.is-valid {
    border-color: #16a34a !important;
}

.hidden {
    display: none !important;
}


.price-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px dotted #facc15;
    padding: 6px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    color: #e60b0b;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}
