﻿* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
}

/* HEADER */
.header {
    background: #6ea5b1;
    padding: 20px;
    text-align: center;
    color: white;
}

.logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* MAIN CARD */
.container {
    width: calc(100% - 20px);
    max-width: 520px;
    margin: 20px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* TITLES */
h2 {
    margin-top: 0;
    text-align: center;
    font-size: 28px;
}

/* INPUTS */
input {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

/* BUTTONS */
button,
.btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    margin-top: 10px;
    background: #1e73be;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
}

    button:hover,
    .btn:hover {
        background: #155a96;
    }

/* LIGHT BLUE BOX */
.box,
.invoice-box,
.receipt-box {
    margin-top: 20px;
    padding: 20px;
    background: #eef6ff;
    border-radius: 8px;
    border: 1px solid #d6e9ff;
}

/* ROWS */
.row {
    margin: 12px 0;
    font-size: 16px;
}

.label {
    font-weight: bold;
}

/* SUCCESS */
.paid {
    color: #2e6b2e;
    font-weight: bold;
    font-size: 20px;
}

/* ERROR */
.error {
    color: #c0392b;
    text-align: center;
    margin-bottom: 15px;
}

/* FOOTER */
.footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* MOBILE */
@media (max-width: 600px) {

    .container {
        width: calc(100% - 16px);
        margin: 10px auto;
        padding: 20px;
    }

    h2 {
        font-size: 24px;
    }

    input,
    button,
    .btn {
        font-size: 16px;
    }

    .row {
        font-size: 17px;
    }

    .paid {
        font-size: 22px;
    }
}
.pay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.pay-tile input {
    display: none;
}

.tile-box {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    background: #fff;
}

    .tile-box:hover {
        border-color: #0070f3;
        transform: translateY(-2px);
    }

.pay-tile input:checked + .tile-box {
    border-color: #0070f3;
    background: #f0f7ff;
    box-shadow: 0 0 0 2px rgba(0,112,243,0.15);
}

.icon {
    font-size: 26px;
    margin-bottom: 6px;
}

.title {
    font-weight: 600;
    font-size: 14px;
}

.sub {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.pay-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #0070f3;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

    .pay-btn:hover {
        background: #0059c1;
    }

/* Mobile optimization */
@media (max-width: 600px) {
    .pay-grid {
        grid-template-columns: 1fr;
    }
}
.pay-tile {
    cursor: pointer;
}

.tile-box {
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all 0.2s ease;
    background: #fff;
    user-select: none;
}

.pay-tile:hover .tile-box {
    border-color: #0070f3;
    transform: translateY(-2px);
}

.pay-tile:active .tile-box {
    transform: scale(0.98);
}

.icon {
    color: #333;
    margin-bottom: 6px;
}
/* =========================
   ZELLE PAYMENT PAGE (MODERN UI)
========================= */

.payment-container {
    max-width: 520px;
    margin: 40px auto;
}

.payment-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.payment-header {
    text-align: center;
    margin-bottom: 20px;
}

    .payment-header h1 {
        margin: 0;
        font-size: 22px;
    }

.payment-sub {
    color: #666;
    font-size: 14px;
    margin-top: 6px;
}

.payment-block {
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    padding: 14px;
    margin-top: 14px;
}

.payment-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
}

.payment-value {
    font-size: 18px;
    font-weight: 600;
    word-break: break-word;
}

.payment-btn {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

    .payment-btn:active {
        transform: scale(0.98);
    }

.payment-notice {
    margin-top: 18px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.payment-success {
    margin-top: 16px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
}

.payment-small {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
    text-align: center;
}
.featured-pay-option {
    position: relative;
    margin: 18px 0 20px;
    padding: 24px 18px;
    border: 3px solid #1e73be;
    border-radius: 18px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(30, 115, 190, 0.22);
    transition: all 0.2s ease;
}

    .featured-pay-option:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(30, 115, 190, 0.28);
    }

.featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e73be;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 16px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.featured-icon {
    font-size: 42px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.featured-title {
    font-size: 22px;
    font-weight: bold;
    color: #1f2937;
}

.featured-sub {
    margin-top: 5px;
    font-size: 14px;
    color: #4b5563;
}

.card-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 18px 0 10px;
}

    .card-icons img {
        height: 26px;
        width: auto;
        object-fit: contain;
        filter: grayscale(0%);
        opacity: 0.95;
        transition: transform 0.15s ease;
    }

        .card-icons img:hover {
            transform: scale(1.05);
        }

.card-icons span {
        display: inline-block;
        padding: 6px 9px;
        background: #ffffff;
        border: 1px solid #d6e9ff;
        border-radius: 7px;
        font-size: 12px;
        font-weight: bold;
        color: #1f2937;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

.featured-pay-btn {
    margin-top: 8px;
    background: #1e73be;
    font-size: 17px;
    font-weight: bold;
    border-radius: 10px;
}

.other-pay-title {
    margin: 18px 0 10px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}