/* ==============================================================================
   Pay Now - Recover Registration Payment Styles
   Matches Authority Approved Plots Yojna Theme & Registration Aesthetics
============================================================================== */

:root {
    --pn-primary: #143d8f;
    --pn-primary-dark: #0f2b66;
    --pn-accent-red: #dc2626;
    --pn-accent-gold: #f59e0b;
    --pn-accent-green: #059669;
    --pn-card-bg: #ffffff;
    --pn-border: #e2e8f0;
    --pn-text-dark: #1e293b;
    --pn-text-muted: #64748b;
    --pn-bg-light: #f8fafc;
}

.pay-now-wrapper {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: calc(100vh - 120px);
    padding: 40px 0 60px;
    font-family: var(--font-primary, 'Inter', sans-serif);
}

/* Hero Header */
.pay-now-hero {
    text-align: center;
    margin-bottom: 30px;
}

.pay-now-hero .badge-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.pay-now-hero h1 {
    color: var(--pn-primary);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

.pay-now-hero h1 small {
    display: block;
    font-size: 18px;
    color: #475569;
    font-weight: 600;
    margin-top: 4px;
}

.pay-now-hero p {
    color: var(--pn-text-muted);
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Card */
.pay-now-card {
    background: var(--pn-card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.pay-now-card-header {
    background: linear-gradient(135deg, var(--pn-primary) 0%, var(--pn-primary-dark) 100%);
    color: #ffffff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pay-now-card-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pay-now-card-header .step-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.pay-now-card-body {
    padding: 30px 25px;
}

/* Identifier Type Selector */
.id-type-selector {
    display: flex;
    gap: 12px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.id-type-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1.5px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.id-type-btn i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.id-type-btn:hover {
    color: var(--pn-primary);
    background: rgba(255, 255, 255, 0.5);
}

.id-type-btn.active {
    background: #ffffff;
    color: var(--pn-primary);
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.id-type-btn.active i {
    color: var(--pn-primary);
    transform: scale(1.1);
}

/* Form inputs */
.pay-form-group {
    margin-bottom: 22px;
}

.pay-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--pn-text-dark);
    margin-bottom: 8px;
}

.pay-form-group label small {
    font-weight: 500;
    color: var(--pn-text-muted);
}

.pay-form-group .input-wrapper {
    position: relative;
}

.pay-form-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
}

.pay-form-control {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 44px;
    border: 1.5px solid var(--pn-border);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--pn-text-dark);
    background-color: #ffffff;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.pay-form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}

.pay-form-control.is-invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.pay-form-hint {
    font-size: 12px;
    color: var(--pn-text-muted);
    margin-top: 6px;
}

/* Security Banner */
.security-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.security-note i {
    font-size: 20px;
    color: #3b82f6;
    line-height: 1;
}

/* Buttons */
.btn-verify-app {
    background: linear-gradient(135deg, var(--pn-primary) 0%, #1e40af 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(20, 61, 143, 0.3);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-verify-app:hover {
    background: linear-gradient(135deg, #0f2b66 0%, var(--pn-primary) 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(20, 61, 143, 0.4);
}

.btn-proceed-payment {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    height: 56px;
    font-size: 17px;
    font-weight: 800;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-proceed-payment:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
}

/* Summary Grid */
.summary-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--pn-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px dashed #e2e8f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--pn-text-muted);
    font-weight: 500;
}

.summary-val {
    color: var(--pn-text-dark);
    font-weight: 700;
    text-align: right;
}

/* Amount Callout */
.amount-callout {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1.5px solid #a7f3d0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.amount-callout .callout-text span {
    font-size: 13px;
    font-weight: 700;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.amount-callout .callout-text small {
    font-size: 13px;
    color: #047857;
}

.amount-callout .callout-amount {
    font-size: 26px;
    font-weight: 800;
    color: #065f46;
}

/* Status Cards */
.status-card-inner {
    text-align: center;
    padding: 40px 20px;
}

.status-card-inner .status-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 18px;
}

.status-icon.success {
    background: #dcfce7;
    color: #16a34a;
}

.status-icon.warning {
    background: #fef3c7;
    color: #d97706;
}

.status-card-inner h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--pn-text-dark);
}

.status-card-inner p {
    color: var(--pn-text-muted);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pay-now-wrapper {
        padding: 20px 0 40px;
    }
    .pay-now-hero h1 {
        font-size: 22px;
    }
    .pay-now-hero h1 small {
        font-size: 15px;
    }
    .pay-now-card-body {
        padding: 20px 15px;
    }
    .amount-callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .amount-callout .callout-amount {
        font-size: 24px;
    }
}
