﻿/* COMPLETE UPDATED CSS - TRUSTABLE COLORS + SINGLE LINE BUTTONS */
/* Production Ready - Feb 17, 2026 */

/* MAIN CONTAINER */
.payment-options-section {
    padding: 3rem 1rem 0rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

    /* SECTION TITLE */
    .payment-options-section .section-title {
        font-size: clamp(2.2rem, 5vw, 2.2rem);
        font-weight: 800;
        text-align: center;
        background: linear-gradient(45deg, #10B9D9, #0595BB);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 2.5rem;
        letter-spacing: -0.02em;
    }

/* PAYMENT CONTAINER */
.payment-container {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    padding: 2.5rem 1rem;
/*    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
*/    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.25);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* PAYMENT OPTIONS GRID */
.payment-options {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.payment-option {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: white;
    border: 1px solid #f3f4f6;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

    .payment-option[open] {
        box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        border-color: #10b981; /* Trust green instead of red */
    }

/* ✅ NEW TRUSTABLE BUTTON COLORS - NO RED */
.payment-options-section .btn.btn--garnet.btn-block {
    width: 100%;
    min-height: 48px; /* Slightly shorter */
    padding: 0.75rem 1.25rem; /* Compact padding */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem; /* Smaller font - SINGLE LINE */
    font-weight: 700;
    line-height: 1.2; /* Tighter line height */
    /* 🟢 TRUST GREEN - Professional & Safe */
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 16px 16px 0 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    text-transform: uppercase;
    letter-spacing: 0.05em; /* Tighter spacing */
    white-space: nowrap; /* FORCE SINGLE LINE */
    overflow: hidden;
    text-overflow: ellipsis;
}

    .payment-options-section .btn.btn--garnet.btn-block:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(16,185,129,0.4);
        background: linear-gradient(135deg, #34d399, #10b981);
    }

/* CHEVRON */
.chevron {
    font-size: 0.85rem;
    opacity: 0.9;
    transition: transform 0.3s ease;
    margin-left: auto;
    padding-left: 0.75rem;
    flex-shrink: 0;
}

.payment-option[open] .chevron {
    transform: rotate(180deg);
}

/* ACCESSIBILITY */
.payment-option summary {
    list-style: none;
}

    .payment-option summary::-webkit-details-marker {
        display: none;
    }

.payment-options-section summary:focus-visible {
    outline: 3px solid #10b981;
    outline-offset: -3px;
}

/* CONTENT */
.payment-content {
    padding: 0rem 0.5rem 0rem;
    animation: slideDown 0.3s cubic-bezier(0.4,0,0.2,1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        height: auto;
    }
}

.responsive-img {
    width: 100%;
 /*   max-width: 280px;
    height: 280px;*/
    object-fit: contain;
    display: block;
    margin: 0 auto;
/*    padding: 1.25rem;
*/    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 3px solid #f8fafc;
}

.bank-details {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7); /* Trust green tint */
    border-top: 4px solid #10b981;
/*    padding: 2rem 2.5rem;
*/    border-radius: 0 0 20px 20px;
}

    .bank-details p {
        margin-bottom: 1.2rem;
        color: #374151;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .bank-details strong {
        color: #059669; /* Trust green */
        font-weight: 700;
    }

/* GATEWAY SECTION */
.gateway-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(16,185,129,0.3);
    margin-top: 1.5rem;
}

.gateway-note {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.7;
    padding: 0 0.5rem;
}

/* GATEWAY BUTTONS - UNCHANGED (already trust colors) */
.gateway-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gateway-btn {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    min-height: 70px;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid;
    border-radius: 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.razorpay-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    border-color: rgba(249,115,22,0.3);
    box-shadow: 0 12px 30px rgba(249,115,22,0.4);
}

    .razorpay-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 45px rgba(249,115,22,0.5);
        background: linear-gradient(135deg, #fb923c, #f97316);
    }

.paypal-btn {
    background: linear-gradient(135deg, #0070ba, #003087);
    color: white;
    border-color: rgba(0,112,186,0.3);
    box-shadow: 0 12px 30px rgba(0,112,186,0.4);
    font-size: 1.05rem;
}

    .paypal-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 45px rgba(0,112,186,0.5);
        background: linear-gradient(135deg, #0095dd, #0070ba);
    }

.gateway-form {
    display: contents;
}

/* ANIMATIONS */
.payment-option:not([open]) .animation {
    opacity: 0;
    transform: scale(0);
}

.payment-option {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .payment-options-section {
        padding: 2.5rem 1rem;
    }

    .payment-container {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }

    .payment-options {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .payment-options-section .btn.btn--garnet.btn-block {
        min-height: 44px;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

   /* .payment-content {
        padding: 1.75rem 2rem 2rem;
    }*/

   /* .responsive-img {
        height: 260px;
        padding: 1rem;
    }*/

    .gateway-buttons {
        flex-direction: column;
        gap: 1.2rem;
    }

    .gateway-btn {
        max-width: 100%;
        min-height: 60px;
    }
}

@media (max-width: 480px) {
    .payment-options-section {
        padding: 2rem 0.75rem;
    }

    .payment-container {
        padding: 1.75rem 0.25rem;
        margin: 0 0.25rem;
    }

    .payment-options-section .btn.btn--garnet.btn-block {
        font-size: 0.75rem;
        padding: 0.65rem 0.9rem;
    }
}

/* FOCUS STATES */
.payment-options-section .btn.btn--garnet.btn-block:focus-visible,
.gateway-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.4), 0 0 0 7px rgba(255,255,255,0.6);
}
