/* ==========================================================================
   Neoventis PayU India — Payment Form Styles v1.2
   ========================================================================== */

.neoventis-payu-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.neoventis-payu-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Header */
.neoventis-payu-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 32px 32px 28px;
    text-align: center;
    color: #ffffff;
}

.neoventis-payu-lock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 16px;
    color: #a8d8ea;
}

.neoventis-payu-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.neoventis-payu-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.neoventis-payu-currency-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #a8d8ea;
    letter-spacing: 0.5px;
}

/* Form */
.neoventis-payu-form {
    padding: 32px;
}

.neoventis-payu-row {
    display: flex;
    gap: 16px;
}

.neoventis-payu-row .neoventis-payu-field {
    flex: 1;
}

.neoventis-payu-field {
    margin-bottom: 20px;
}

.neoventis-payu-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.neoventis-payu-field label span {
    color: #ef4444;
}

.neoventis-payu-field input[type="text"],
.neoventis-payu-field input[type="email"],
.neoventis-payu-field input[type="tel"],
.neoventis-payu-field input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a2e;
    background: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.neoventis-payu-field input:focus {
    border-color: #0f3460;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.neoventis-payu-field input::placeholder {
    color: #94a3b8;
}

.neoventis-payu-field input.neoventis-payu-error {
    border-color: #ef4444;
    background: #fef2f2;
}

.neoventis-payu-field input.neoventis-payu-error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.neoventis-payu-field input[readonly] {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

/* Currency Selector */
.neoventis-payu-currency-selector {
    display: flex;
    gap: 12px;
}

.neoventis-payu-currency-option {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.neoventis-payu-currency-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.neoventis-payu-currency-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
}

.neoventis-payu-currency-option:hover .neoventis-payu-currency-label {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.neoventis-payu-currency-option.active .neoventis-payu-currency-label {
    border-color: #0f3460;
    background: #eef2ff;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.neoventis-payu-currency-sym {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 4px;
}

.neoventis-payu-currency-option.active .neoventis-payu-currency-sym {
    color: #0f3460;
}

.neoventis-payu-currency-code {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.neoventis-payu-currency-option.active .neoventis-payu-currency-code {
    color: #0f3460;
}

/* Amount Field */
.neoventis-payu-amount-input {
    position: relative;
    display: flex;
    align-items: center;
}

.neoventis-payu-currency {
    position: absolute;
    left: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    z-index: 1;
    pointer-events: none;
    transition: all 0.15s ease;
}

.neoventis-payu-amount-input input {
    padding-left: 36px !important;
    font-size: 20px !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Messages */
.neoventis-payu-messages {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.neoventis-payu-messages.neoventis-msg-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.neoventis-payu-messages.neoventis-msg-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* Submit Button */
.neoventis-payu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(15, 52, 96, 0.3);
}

.neoventis-payu-btn:hover {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    box-shadow: 0 6px 20px rgba(15, 52, 96, 0.4);
    transform: translateY(-1px);
}

.neoventis-payu-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(15, 52, 96, 0.3);
}

.neoventis-payu-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.neoventis-payu-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.neoventis-payu-spinner {
    animation: neoventis-spin 0.8s linear infinite;
}

@keyframes neoventis-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Secure Note */
.neoventis-payu-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 12px;
    color: #94a3b8;
}

.neoventis-payu-secure-note svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 560px) {
    .neoventis-payu-wrapper {
        padding: 20px 12px;
    }

    .neoventis-payu-row {
        flex-direction: column;
        gap: 0;
    }

    .neoventis-payu-header {
        padding: 24px 20px;
    }

    .neoventis-payu-form {
        padding: 24px 20px;
    }

    .neoventis-payu-header h2 {
        font-size: 20px;
    }
}
