/* Bill Pay Page Styles */

.billpay-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.billpay-section {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    text-align: center;
}

.billpay-section h2 {
    color: #1e3c72;
    font-size: 2.2em;
    margin-bottom: 25px;
    font-weight: 700;
}

.billpay-section h3 {
    color: #1e3c72;
    font-size: 1.8em;
    margin: 35px 0 20px 0;
    font-weight: 600;
}

.billpay-section p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Payment Button - Orange Gradient (match site primary color) */
.payment-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00 0%, #cc3e13 100%);
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(204,62,19,0.25);
    transition: all 0.3s ease;
    /* tighten top gap so spacing to heading matches gap below the button */
    margin: 2px 0 30px 0;
}

.payment-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(204,62,19,0.35);
    background: linear-gradient(135deg, #cc3e13 0%, #9e2a0d 100%);
}

/* Payment Methods Section */
.payment-methods {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 30px;
    border-radius: 20px;
    margin: 0 0 40px 0;
    border: 3px solid #2a5298;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.payment-methods-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2a5298;
    color: #1e3c72;
    font-size: 1.2em;
    font-weight: 700;
}

.security-icon {
    font-size: 1.8em;
}

.security-text {
    font-weight: 700;
}

.payment-methods-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-method-icon {
    background: white;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    color: #1e3c72;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    font-size: 1em;
    transition: all 0.2s ease;
}

.payment-method-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Instructions Section */
.instructions-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    padding: 40px;
    border-radius: 20px;
    margin: 30px 0;
    border: 3px solid #f6d365;
}

.instructions-box h2 {
    color: #1e3c72;
    font-size: 2.2em;
    margin-bottom: 25px;
}

.instructions-box p {
    text-align: center;
}

.instructions-box ol {
    text-align: left;
    display: inline-block;
    max-width: 700px;
    margin: 20px auto;
    color: #555;
    font-size: 1.1em;
    line-height: 2;
}

.instructions-box li {
    margin: 15px 0;
    padding-left: 10px;
}

.code-highlight {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 5px solid #2a5298;
    margin: 25px auto;
    max-width: 400px;
    font-family: 'Courier New', monospace;
    font-size: 1.4em;
    font-weight: 700;
    color: #1e3c72;
}

.divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    /* reduce vertical space around the divider to bring the heading closer */
    margin: 20px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .billpay-section {
        padding: 30px 20px;
    }
    
    .payment-button {
        font-size: 1.1em;
        padding: 18px 40px;
    }

    .instructions-box {
        padding: 30px 20px;
    }

    .instructions-box ol {
        text-align: left;
        padding-left: 20px;
    }

    .payment-methods {
        padding: 20px;
    }

    .payment-methods-header {
        font-size: 1em;
        flex-direction: column;
        gap: 8px;
    }

    .payment-methods-grid {
        gap: 10px;
    }

    .payment-method-icon {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}
