* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(145deg, #f5f7fa 0%, #e9edf2 100%);
    font-family: 'Inter', sans-serif;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toolbar {
    width: 100%;
    max-width: 1024px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar button,
.toolbar .submit-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: 40px;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 18px rgba(44, 62, 80, 0.15);
    cursor: pointer;
    transition: 0.2s;
}

.toolbar button:hover,
.toolbar .submit-btn:hover {
    background: #1a2a3a;
    transform: scale(0.98);
}

.toolbar .submit-btn {
    background: #4a6fa5;
}

.toolbar .submit-btn:hover {
    background: #3a5a8a;
}

.alert {
    width: 100%;
    max-width: 1024px;
    padding: 14px 22px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.alert.success {
    background: #eaf7ee;
    color: #1f7a3a;
    border: 1px solid #bfe6cc;
}

.alert.error {
    background: #fdecea;
    color: #a52a1f;
    border: 1px solid #f5c2bd;
}

.alert ul {
    margin: 6px 0 0 18px;
}

.sheet {
    width: 100%;
    max-width: 1024px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06), 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(220, 230, 240, 0.5);
}

.sheet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4a6fa5, #6b8fb0, #8aafc9);
    z-index: 2;
}

.sheet .watermark-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.sheet .watermark-wrapper::before {
    content: "MAA VAISHNO ENTERPRISES";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 100px;
    color: rgba(74, 111, 165, 0.05);
    letter-spacing: 12px;
    white-space: nowrap;
    width: 140%;
    text-align: center;
}

.sheet .watermark-wrapper::after {
    content: "✦ GUEST REGISTRATION ✦";
    position: absolute;
    bottom: 15%;
    right: -2%;
    transform: rotate(-4deg);
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 28px;
    color: rgba(74, 111, 165, 0.04);
    letter-spacing: 6px;
    white-space: nowrap;
}

.sheet-content {
    position: relative;
    z-index: 1;
    padding: 40px 44px 32px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eef3f8;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4a6fa5, #6b8fb0);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(74, 111, 165, 0.25);
}

.brand-text h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 28px;
    color: #1a2a3a;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.brand-text .sub {
    font-size: 12px;
    font-weight: 500;
    color: #7a8a9a;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.brand-text .contact-line {
    font-size: 12px;
    font-weight: 500;
    color: #4a6fa5;
    letter-spacing: 0.3px;
    margin-top: 5px;
}

.badge {
    background: linear-gradient(135deg, #eef3f8, #e4eaf0);
    padding: 8px 22px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    color: #4a6fa5;
    letter-spacing: 0.4px;
    border: 1px solid rgba(74, 111, 165, 0.15);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 32px 0 18px;
    padding: 0 4px 12px 4px;
    border-bottom: 2px solid #eef3f8;
}

.section-title .num {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    color: #4a6fa5;
    background: #eef3f8;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.section-title h3 {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    color: #1a2a3a;
}

.section-title .light-tag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 500;
    color: #7a8a9a;
    background: #f5f8fa;
    padding: 4px 16px;
    border-radius: 40px;
    border: 1px solid #e4eaf0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px 24px 12px;
    border: 1px solid #eef3f8;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #5a6a7a;
}

.field input[type="text"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field select {
    width: 100%;
    border: none;
    background: transparent;
    border-bottom: 2px solid black;
    padding: 6px 0 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a2a3a;
    transition: 0.2s;
    outline: none;
}

.field input:focus,
.field select:focus {
    border-bottom-color: #4a6fa5;
    border-bottom-width: 2px;
}

.field input::placeholder {
    color: #b0c0ce;
    font-weight: 300;
    font-size: 13px;
}

.field input[type="number"] {
    -moz-appearance: textfield;
}

.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 4px;
}

.checks label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    color: #1a2a3a;
    cursor: pointer;
}

.checks input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4a6fa5;
    border-radius: 4px;
}

.business-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 20px 4px;
    margin-top: 6px;
    border: 1px solid #e4eaf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.business-box .btitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #4a6fa5;
    margin-bottom: 8px;
}

.business-box .grid {
    background: transparent;
    padding: 0;
    gap: 4px 20px;
    border-radius: 0;
    border: none;
}

.business-box .field {
    margin-bottom: 6px;
}

.business-box .field input {
    border-bottom-color: #d5dde6;
}

.upi-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #eef3f8;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.upi-box .qr-wrap {
    background: #ffffff;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e4eaf0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upi-box .qr-wrap img,
.upi-box .qr-wrap canvas {
    width: 150px;
    height: 150px;
    display: block;
}

.upi-box .upi-info {
    flex: 1;
    min-width: 220px;
}

.upi-box .upi-info .apps {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #7a8a9a;
    margin-bottom: 8px;
}

.upi-box .upi-info .payee {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 20px;
    color: #1a2a3a;
    margin-bottom: 6px;
}

.upi-box .upi-info .upi-id {
    font-size: 14px;
    font-weight: 500;
    color: #4a6fa5;
    background: #eef3f8;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.upi-box .upi-info .contact {
    font-size: 12.5px;
    color: #5a6a7a;
    line-height: 1.6;
}

/* ===== ELECTRICITY BOX ===== */
.elec-box {
    background: #fff8f0;
    border-radius: 14px;
    padding: 16px 20px 4px;
    margin-top: 6px;
    border: 2px solid #f0dcc8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.elec-box .etitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #c0392b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.elec-box .etitle span {
    background: #c0392b;
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.elec-box .grid {
    background: transparent;
    padding: 0;
    gap: 4px 20px;
    border-radius: 0;
    border: none;
}

.elec-box .field input,
.elec-box .field select {
    border-bottom-color: #d5dde6;
}

.elec-result {
    background: #e8f0fe;
    border-radius: 8px;
    padding: 10px 16px;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.elec-result .item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.elec-result .item .label {
    font-weight: 500;
    color: #5a6a7a;
}

.elec-result .item .value {
    font-weight: 700;
    color: #1a2a3a;
    font-size: 16px;
}

.elec-result .item .value.total {
    color: #c0392b;
    font-size: 18px;
}

/* ===== ELECTRICITY COLLAPSIBLE ===== */
.elec-toggle {
    cursor: pointer;
    user-select: none;
}

.elec-toggle .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 18px;
}

.elec-toggle .arrow.open {
    transform: rotate(90deg);
}

.elec-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.elec-content.open {
    max-height: 800px;
}

/* ===== FOOTER ===== */
.footer-note {
    margin-top: 34px;
    text-align: center;
    font-size: 12px;
    color: #8a9aa8;
    border-top: 2px solid #eef3f8;
    padding-top: 22px;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-note .stamp {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    color: #4a6fa5;
    letter-spacing: 1.5px;
}

.footer-note .hotel-address {
    width: 100%;
    text-align: center;
    order: 3;
    font-size: 11.5px;
    color: #7a8a9a;
    margin-top: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .sheet-content {
        padding: 24px 16px;
    }
    .sheet .watermark-wrapper::before {
        font-size: 44px;
        letter-spacing: 6px;
        width: 160%;
    }
    .sheet .watermark-wrapper::after {
        font-size: 18px;
        bottom: 8%;
        right: -2%;
        letter-spacing: 4px;
    }
    .grid {
        grid-template-columns: 1fr;
        padding: 14px 12px 4px;
    }
    .field.full {
        grid-column: 1;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .badge {
        align-self: flex-start;
    }
    .brand-text h1 {
        font-size: 22px;
    }
    .brand-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    .upi-box {
        flex-direction: column;
        text-align: center;
    }
    .elec-result {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .elec-result .item {
        justify-content: center;
    }
}

@media print {
    body {
        background: white;
        padding: 0.4in;
    }
    .toolbar,
    .alert {
        display: none;
    }
    .sheet {
        box-shadow: none;
        border-radius: 0;
        border: 1px solid #dde4ec;
    }
    .sheet::before {
        display: none;
    }
    .sheet .watermark-wrapper::before {
        font-size: 70px;
        color: rgba(0, 0, 0, 0.04);
        letter-spacing: 8px;
    }
    .sheet .watermark-wrapper::after {
        font-size: 22px;
        color: rgba(0, 0, 0, 0.03);
        letter-spacing: 4px;
    }
    .grid {
        background: #fafcfd;
        border: 1px solid #eef3f8;
    }
    .business-box {
        background: #fafcfd;
    }
    .upi-box {
        background: #fafcfd;
    }
    .brand-icon {
        background: #4a6fa5;
        color: white;
    }
}
.row-actions .download {
  color: #17a2b8;
}
.row-actions .download:hover {
  text-decoration: underline;
}
.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #1e1e2d; /* डार्क थीम के लिए बैकग्राउंड */
}

/* Text-based Logo की स्टाइलिंग */
.brand-icon {
    background: linear-gradient(135deg, #3699ff, #00b0ff); /* मॉडर्न ग्रेडिएंट कलर */
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 8px 14px;
    border-radius: 8px; /* कर्व्ड कोट्स */
    box-shadow: 0 4px 6px rgba(54, 153, 255, 0.2);
    display: inline-block;
}

/* लोगो के बगल वाले टेक्स्ट की स्टाइलिंग */
.brand-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* अगर भविष्य में Image इस्तेमाल करें तो उसकी साइज कंट्रोल करने के लिए */
.brand-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}