/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
}

.page-payment-methods__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-payment-methods__hero-section {
    background-color: #F8F8F8; /* Light background for hero */
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-payment-methods__hero-title {
    font-size: 3.2em;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-payment-methods__hero-description {
    font-size: 1.2em;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-payment-methods__hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-payment-methods__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 25px;
}

.page-payment-methods__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.page-payment-methods__overview-section,
.page-payment-methods__withdraw-section,
.page-payment-methods__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-payment-methods__deposit-section,
.page-payment-methods__security-section,
.page-payment-methods__cta-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-payment-methods__deposit-section .page-payment-methods__section-title,
.page-payment-methods__security-section .page-payment-methods__section-title,
.page-payment-methods__cta-section .page-payment-methods__section-title {
    color: #ffffff;
}

.page-payment-methods__deposit-section .page-payment-methods__section-description,
.page-payment-methods__security-section .page-payment-methods__section-description,
.page-payment-methods__cta-section .page-payment-methods__section-description {
    color: #f0f0f0;
}

.page-payment-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-payment-methods__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__card-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-payment-methods__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-payment-methods__card-text {
    font-size: 1em;
    color: #555555;
}

.page-payment-methods__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__step-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__step-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-payment-methods__step-card p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-payment-methods__withdraw-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.page-payment-methods__text-block {
    flex: 1;
    min-width: 300px;
}

.page-payment-methods__text-block h3 {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-payment-methods__text-block ol,
.page-payment-methods__text-block ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-payment-methods__text-block li {
    margin-bottom: 8px;
}

.page-payment-methods__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-payment-methods__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-payment-methods__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-payment-methods__feature-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
}

.page-payment-methods__feature-icon {
    max-width: 80px;
    height: auto;
    margin-bottom: 20px;
    min-width: 80px;
    min-height: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-payment-methods__feature-item h3 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-payment-methods__feature-item p {
    color: #f0f0f0;
}

.page-payment-methods__faq-list {
    margin-top: 40px;
}

.page-payment-methods__faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    color: #333333;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
    background-color: #f0f0f0;
}

.page-payment-methods__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #26A9E0;
}

.page-payment-methods__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
    transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #ffffff;
    color: #555555;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-payment-methods__cta-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-payment-methods__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-payment-methods__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-payment-methods__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-payment-methods__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc4;
    border-color: #1a8cc4;
}

/* Specific login button color if needed */
.page-payment-methods__btn-login {
    background-color: #EA7C07;
    border-color: #EA7C07;
    color: #FFFFFF;
}

.page-payment-methods__btn-login:hover {
    background-color: #d46c05;
    border-color: #d46c05;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-payment-methods__hero-title {
        font-size: 2.8em;
    }
    .page-payment-methods__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 60px 0 30px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-payment-methods__hero-title {
        font-size: 2.2em;
    }
    .page-payment-methods__hero-description {
        font-size: 1em;
        padding: 0 15px;
    }
    .page-payment-methods__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }
    .page-payment-methods__section-description {
        font-size: 0.95em;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    .page-payment-methods__overview-section,
    .page-payment-methods__deposit-section,
    .page-payment-methods__withdraw-section,
    .page-payment-methods__security-section,
    .page-payment-methods__faq-section,
    .page-payment-methods__cta-section {
        padding: 40px 0;
    }
    .page-payment-methods__container {
        padding: 0 15px;
    }
    .page-payment-methods__grid,
    .page-payment-methods__steps-grid,
    .page-payment-methods__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-payment-methods__withdraw-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-payment-methods__card,
    .page-payment-methods__step-card,
    .page-payment-methods__feature-item {
        padding: 25px;
    }
    .page-payment-methods__card-title,
    .page-payment-methods__step-title,
    .page-payment-methods__text-block h3,
    .page-payment-methods__feature-item h3 {
        font-size: 1.5em;
    }
    .page-payment-methods__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-payment-methods__faq-question h3 {
        font-size: 1.1em;
    }
    .page-payment-methods__faq-answer {
        padding: 0 20px;
    }
    .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
        padding: 10px 20px 20px;
    }
    .page-payment-methods__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-payment-methods__btn-primary,
    .page-payment-methods__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
    }
    
    /* Ensure all images are responsive and do not overflow */
    .page-payment-methods img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-payment-methods__section,
    .page-payment-methods__card,
    .page-payment-methods__container,
    .page-payment-methods__cta-buttons,
    .page-payment-methods__withdraw-content,
    .page-payment-methods__security-features,
    .page-payment-methods__grid,
    .page-payment-methods__steps-grid,
    .page-payment-methods__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Handled by .page-payment-methods__container */
        /* padding-right: 15px; */ /* Handled by .page-payment-methods__container */
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-payment-methods__btn-primary, .page-payment-methods__btn-secondary {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-title {
        font-size: 1.8em;
    }
    .page-payment-methods__section-title {
        font-size: 1.5em;
    }
    .page-payment-methods__card-title,
    .page-payment-methods__step-title,
    .page-payment-methods__text-block h3,
    .page-payment-methods__feature-item h3 {
        font-size: 1.3em;
    }
    .page-payment-methods__faq-question h3 {
        font-size: 1em;
    }
}