/* Responsive Payment Container - Integrated with Main Site Theme */

/* Font declaration (in case it's not loaded from main CSS) */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');
}

/* CSS Variables from main theme */
:root {
    --color-dark1: #1f2330;
    --color-dark2: #111c29;
    --color-dark3: #1d2229;
    --color-text1st: #f2f2f2;
    --color-text2nd: #cfcfcf;
    --color-text3rd: #4b5563;
    --color-foreground2: #1a2534;
    --color-foreground3: #16232f;
    --color-primary: #2967e0;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-gold: #cbb035;
    --color-orange: #e06e21;
}

/* Payment Container */
.payment-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    padding: 20px 10px;
    width: 90%;
    margin: 0px auto;
    background: radial-gradient(113.18% 160.42% at 50% 131.94%, rgb(20 27 61) 0%, rgb(0 0 0 / 0%) 100%) repeat scroll 0% 0% / auto padding-box border-box, linear-gradient(270deg, rgb(0 0 0 / 0%) 0%, rgb(39 50 111 / 0%) 50%, rgba(39, 50, 111, 0) 100%) repeat scroll 0% 0% / auto padding-box border-box, rgb(152 0 255 / 0%) none repeat scroll 0% 0% / auto padding-box border-box;
    box-sizing: border-box;
    border-radius: 15px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Tablet */
@media (min-width: 768px) {
    .payment-container {
        min-width: 100%;
        padding: 20px 15px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .payment-container {
        width: 75%;
        padding: 20px 20px;
        margin-bottom: 20px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .payment-container {
        width: 70%;
        max-width: 1200px;
    }
}

/* Payment Methods Grid */
.payment-methods {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
}

/* Tablet gap */
@media (min-width: 768px) {
    .payment-methods {
        gap: 15px;
    }
}

/* Desktop gap */
@media (min-width: 1024px) {
    .payment-methods {
        gap: 20px;
    }
}

/* Payment Buttons - Responsive with Outfit font */
.payment-btn {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    gap: 8px;
    color: var(--color-text1st);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.2s;
    text-shadow: none;
    box-shadow: none;
    background: linear-gradient(270deg, rgba(39, 50, 111, 0) 0%, rgba(59, 71, 139, 0.36) 50%, rgba(39, 50, 111, 0) 100%) repeat scroll 0% 0% / auto padding-box border-box, rgb(30, 39, 80) none repeat scroll 0% 0% / auto padding-box border-box;
    height: 48px;
    width: 70px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 0px;
    box-sizing: border-box;
    appearance: button;
    overflow: visible;
    line-height: 1.2;
    margin: 0px;
}

/* Mobile Large */
@media (min-width: 480px) {
    .payment-btn {
        height: 52px;
        width: 78px;
        font-size: 15px;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .payment-btn {
        height: 54px;
        width: 82px;
        font-size: 16px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .payment-btn {
        height: 56px;
        width: 86px;
        font-size: 16.8px;
    }
}

/* Button Images */
.payment-btn img {
    box-sizing: border-box;
    border-style: none;
    max-width: 110%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.2s;
}

/* Mobile Large Images */
@media (min-width: 480px) {
    .payment-btn img {
        max-width: 75%;
        max-height: 75%;
    }
}

/* Desktop Images */
@media (min-width: 1024px) {
    .payment-btn img {
        max-width: 85%;
        max-height: 85%;
    }
}

/* Hover effect */
.payment-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(270deg, rgba(39, 50, 111, 0) 0%, rgba(79, 91, 159, 0.5) 50%, rgba(39, 50, 111, 0) 100%) repeat scroll 0% 0% / auto padding-box border-box, rgb(40, 49, 90) none repeat scroll 0% 0% / auto padding-box border-box;
}

/* Active/Tap effect */
.payment-btn:active {
    transform: scale(0.98);
}

/* Title - Updated with Outfit font and theme colors */
.payment-title {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2.88px;
    color: var(--color-gold);
    font-weight: 500;
    font-size: 18px;
    box-sizing: border-box;
    text-align: center;
    padding: 0 10px;
}

/* Mobile Large Title */
@media (min-width: 480px) {
    .payment-title {
        font-size: 20px;
    }
}

/* Tablet Title */
@media (min-width: 768px) {
    .payment-title {
        font-size: 21px;
    }
}

/* Desktop Title */
@media (min-width: 1024px) {
    .payment-title {
        font-size: 22.4px;
    }
}

/* Link styles */
.payment-link {
    color: var(--color-text1st);
    text-decoration: none;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0);
}

/* Optional: Add a subtle gold border on focus for accessibility */
.payment-btn:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Optional: Loading state for payment buttons */
.payment-btn.loading {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.payment-btn.loading:hover {
    transform: none;
}

/* Optional: Disabled state */
.payment-btn.disabled,
.payment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.payment-btn.disabled:hover,
.payment-btn:disabled:hover {
    transform: none;
}