:root{--bg:#f6fbff;--card:#ffffff;--accent:#ff8a00;--accent-2:#ffb74d;--muted:#6b7280;--blue:#e9f5ff}
*{box-sizing:border-box}
.container{
    max-width:1100px;
    margin:-60px auto 80px;
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    padding:0 18px
}
.donation_card{
    background:#D4AF37;
    border-radius:12px;
    padding:26px;
    box-shadow:0 8px 30px rgba(2,6,23,0.06)
}
h2{
    margin:0 0 8px 0;
    font-size:24px
}
p.lead{
    color:var(--muted);
    margin:25px 0px 5px 0px;
}
.currency-toggle{
    display:flex;
    margin:12px 0;
}
.btn-toggle{
    padding:12px 20px;
    border-radius:28px;
    border:2px solid transparent;
    background:linear-gradient(90deg,#fff,#fff);
    cursor:pointer;
    font-weight:700
}
.btn-toggle.active{
    background:linear-gradient(90deg,var(--accent),var(--accent-2));
    color:white;
    border-color:rgba(0,0,0,0.02)
}
.freq-toggle{
    display:flex;
    gap:12px;
    margin-top:14px;
}
.freq-btn{
    padding:10px 16px;
    border-radius:24px;
    border:1px solid #e6eef8;
    background:#fff;
    cursor:pointer;
    font-weight:700
}
.freq-btn.active{
    background:linear-gradient(90deg,#2fb4ff,#6dd2ff);
    color:white;
    border:none
}
.note{
    font-size:13px;
    color:var(--muted);
    margin-top:8px
}
.presets{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.preset{padding:12px 18px;border-radius:10px;border:1px solid #dbe8ff;background:linear-gradient(180deg,#fff,#fbfdff);cursor:pointer}
.preset.primary{background:linear-gradient(90deg,var(--accent),var(--accent-2));color:white;border:none}
.preset.outline{background:transparent;border:1px solid #cfe6ff}

.or-divider{display:flex;align-items:center;gap:12px;margin:22px 0}
.or-divider .line{flex:1;height:1px;background:#eef6ff}
.or-divider .or{color:#040c5c;font-weight:700}

.flex{display:flex;gap:16px;align-items:center}
.select{width:100%;padding:12px;border-radius:8px;border:1px solid #e6eef8}
.inputs-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.field{margin-top:12px}
label{font-weight:700;font-size:13px}
input[type=text], input[type=email], select, textarea{width:100%;padding:12px;border-radius:8px;border:1px solid #e8eef6}

.form-box{
    border-radius:10px;
    padding:18px;
    border:1px solid #040c5c;
    background:#fff
}
.row-check{display:flex;gap:12px;align-items:center;margin-top:12px}

.payment-box{border:1px solid #e6eef8;padding:16px;border-radius:8px;margin-top:14px}
.radio{display:flex;gap:8px;align-items:center;margin-top:8px}

.proceed{margin-top:18px}
.btn-primary{background:#040c5c;color:white;border:none;padding:12px 20px;border-radius:8px;font-weight:700;cursor:pointer}
.btn-secondary{background:transparent;border:1px solid #e6eef8;padding:12px 20px;border-radius:8px;cursor:pointer}

.bank-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.bank-card{background:var(--blue);padding:18px;border-radius:10px}
.bank-card h4{margin:0 0 10px 0}
.bank-card ul{margin:0;padding-left:18px}
.bank-card .upi{float:right;text-align:center}
.bank-card img.qr{width:120px;height:120px;background:#fff;border-radius:6px}

footer{margin-top:28px;text-align:center;color:var(--muted);font-size:13px}

@media(max-width:900px){.inputs-grid{grid-template-columns:1fr}.bank-grid{grid-template-columns:1fr}.hero{height:260px}}
.btn-primary:hover {
    background: #040c5c87;
}
.btn-default{
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #dbe8ff;
    background: linear-gradient(180deg, #fff, #fbfdff);
    cursor: pointer;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    font-size: 15px;
}
.btn-defaults{
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #dbe8ff;
    background: linear-gradient(180deg, #fff, #fbfdff);
    cursor: default;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    font-size: 15px;
}
.require {
    color: red !important;
}
.error {
    color: red !important;
}
.no_padding_right {
    padding-right: 1px !important;
}
.no_padding_left {
    padding-left: 1px !important;
}
.flex_style{
    flex:1;
}
.upi_details{
    color:#053b6f;
    max-width:60%
}
.tooltips {
    font-size: 13px;
}
.tooltips .tooltiptext {
    visibility: hidden;
    width: 90%;              /* Better for mobile */
    max-width: 280px;        /* Prevents overflow */
    left: 45%;               
    transform: translateX(-50%);  /* Perfect center */
    background-color: black;
    font-size: 12px;         /* 9px too small for mobile */
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 999;
    box-sizing: border-box;
}
.tooltips:hover .tooltiptext {
    visibility: visible;
}
.payment_method{
    font-size: 28px !important;
}
.amt_class{
    order: 1;  
}
.sqt_class{
    order: 2;
}
@media (max-width: 570px) {
    .amt_class{
        order: 2;  
    }
    .sqt_class{
        order: 1;
    }
    .btn-default {
        width: 100% !important;
    }
    .payment_method {
        font-size: 18px !important;
    }
    /* .button-donates{
         width: 100% !important;
     }*/
    .flex_style{
        flex:auto;
    }
    .bank-grid {
        display: contents !important;
    }
    .upi_details{
        max-width:57%;
    }
    .bank-card {
        margin-top: 10px !important;
    }
    .form-box {
        padding: 10px !important;;
    }
    .btn-primary {
        width: 100%;
    }
    .country_code{
        font-size: 12px;
    }
    .donation_card{
        padding:5px !important;
    }
}
.btn:not(:disabled):not(.disabled) {
    cursor: default;
}
/*Donatioon page */
.currency-toggle {
    display: flex;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;   /* small rounded corner */
    overflow: hidden;
    margin: 30px 10px;
}

.currency-toggle input[type="radio"] {
    display: none;
}

.currency-toggle label {
    width: 50%;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    background: #f8f8f8;
    transition: 0.3s;
    margin: 0;
}

/* Active Button */
.currency-toggle input[type="radio"]:checked + label {
    background: #040c5c;
    color: #fff;
}
/*Donate button*/
#button-donate {
    display: flex;
    width: 100%;
    border: 1px solid #212fc4;
    padding: 5px;
}

.button-donates {
    flex: 1;
    padding-top: 10px;
}

.button-donates input {
    display: none;
}

.button-donates label {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #fff;
}

/* Active Class */
.button-donates label.active {
    background-color: #040c5c;
    color: #fff;
    border-color: #040c5c;
}
/*icons*/
.bank-card-icons {
    display: flex;
    align-items: center;
    justify-content: center;   /* center horizontally */
    flex-wrap: wrap;           /* allow wrap on small screens */
    gap: 10px;                 /* spacing between items */
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.bank-card-icons .info {
    font-weight: bold;
    margin-right: 10px;
}

.bank-card-icons .card img {
    height: 30px;   /* adjust as needed */
    width: auto;
}

/* Mobile optimization */
@media (max-width: 600px) {
    .bank-card-icons {
        justify-content: center;
    }

    .bank-card-icons .info {
        width: 100%;          /* moves "We Accept" to top */
        margin-bottom: 5px;
    }
}
