/* ========================================
   NXT RAZORPAY FORM V2 - MODERN DESIGN
   ======================================== */

.nxt-razorpay-form-wrapper-v2 {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
}

.nxt-razorpay-container-v2 {
    width: 100%;
    padding: 0;
}

/* ========================================
   HEADER SECTION
   ======================================== */

.nxt-form-header-v2 {
    text-align: center;
    margin-bottom: 40px;
}

.nxt-form-title-v2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.nxt-form-subtitle-v2 {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   FORM STYLES
   ======================================== */

.nxt-razorpay-form-v2 {
    width: 100%;
}

.nxt-form-notice-v2 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-weight: 500;
}

.nxt-form-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nxt-form-field-v2 {
    position: relative;
}

.nxt-form-field-v2.full-width {
    grid-column: 1 / -1;
}

/* ========================================
   INPUT FIELDS
   ======================================== */

.nxt-form-field-v2 input[type="text"],
.nxt-form-field-v2 input[type="email"],
.nxt-form-field-v2 input[type="tel"] {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 15px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.nxt-form-field-v2 input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nxt-form-field-v2 input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   PERSONS COUNTER
   ======================================== */

.nxt-persons-section-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
}

.nxt-persons-label-v2 {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.nxt-persons-controls-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nxt-counter-btn-v2 {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.nxt-counter-btn-v2:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.nxt-counter-btn-v2:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nxt-counter-value-v2 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    min-width: 30px;
    text-align: center;
}

/* ========================================
   TOTAL AMOUNT
   ======================================== */

.nxt-total-section-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

.nxt-total-label-v2 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.nxt-total-value-v2 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

/* ========================================
   COUPON SECTION
   ======================================== */

.nxt-coupon-section-v2 {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nxt-coupon-section-v2 input {
    flex: 1;
    padding: 14px 20px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    color: #ffffff !important;
}

.nxt-coupon-btn-v2 {
    padding: 14px 28px;
    background: #dd3333;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nxt-coupon-btn-v2:hover {
    background: #c42b2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 51, 51, 0.3);
}

.nxt-coupon-btn-v2.remove {
    background: #666;
}

.nxt-coupon-btn-v2.remove:hover {
    background: #555;
}

.nxt-coupon-message-v2 {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
}

.nxt-coupon-message-v2.success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #4ade80;
}

.nxt-coupon-message-v2.error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

/* ========================================
   CHECKBOX
   ======================================== */

.nxt-checkbox-label-v2 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.nxt-checkbox-label-v2 input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #dd3333;
}

.nxt-checkbox-label-v2 a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.nxt-checkbox-label-v2 a:hover {
    color: #dd3333;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */

.nxt-submit-btn-v2 {
    width: 100%;
    padding: 18px 40px;
    background: #dd3333;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    text-transform: capitalize;
}

.nxt-submit-btn-v2:hover {
    background: #c42b2b;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(221, 51, 51, 0.4);
}

.nxt-submit-btn-v2:active {
    transform: translateY(-1px);
}

/* Payment Disabled Message */
.nxt-payment-disabled-v2 {
    padding: 18px;
    background: rgba(255, 243, 205, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    text-align: center;
    color: #ffc107;
    font-size: 14px;
    margin-top: 30px;
}

/* ========================================
   SUCCESS MODAL
   ======================================== */

.nxt-modal-overlay-v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: nxtFadeIn 0.3s ease;
}

@keyframes nxtFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nxt-modal-content-v2 {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: nxtSlideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes nxtSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nxt-modal-icon-v2 {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nxtScalePulse 0.6s ease;
}

@keyframes nxtScalePulse {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.nxt-modal-icon-v2 svg {
    width: 45px;
    height: 45px;
    color: #ffffff;
    stroke-width: 3;
}

.nxt-modal-title-v2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.nxt-modal-message-v2 {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.nxt-modal-btn-v2 {
    padding: 14px 40px;
    background: #28a745;
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nxt-modal-btn-v2:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .nxt-form-grid-v2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nxt-form-title-v2 {
        font-size: 32px;
    }

    .nxt-form-subtitle-v2 {
        font-size: 14px;
    }

    .nxt-coupon-section-v2 {
        flex-direction: column;
    }

    .nxt-coupon-btn-v2 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nxt-form-title-v2 {
        font-size: 28px;
    }

    .nxt-persons-section-v2,
    .nxt-total-section-v2 {
        padding: 16px 20px;
    }

    .nxt-total-value-v2 {
        font-size: 18px;
    }
}