/* style/payment-methods-withdrawal-guide.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212; /* Body background from shared.css */
    --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly lighter for cards on dark bg */
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-payment-methods-withdrawal-guide {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
}

.page-payment-methods-withdrawal-guide__section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.page-payment-methods-withdrawal-guide__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-payment-methods-withdrawal-guide__light-bg {
    background-color: #1a1a1a; /* A slightly lighter dark background for contrast */
    color: var(--text-light);
}

.page-payment-methods-withdrawal-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-payment-methods-withdrawal-guide__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 80px;
    position: relative;
}

.page-payment-methods-withdrawal-guide__hero-content {
    z-index: 2;
    max-width: 800px;
}

.page-payment-methods-withdrawal-guide__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-payment-methods-withdrawal-guide__description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
    line-height: 1.6;
}

.page-payment-methods-withdrawal-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    border: none;
    cursor: pointer;
}

.page-payment-methods-withdrawal-guide__cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.page-payment-methods-withdrawal-guide__cta-button--large {
    font-size: 22px;
    padding: 18px 50px;
    margin-top: 40px;
}

.page-payment-methods-withdrawal-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-payment-methods-withdrawal-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: brightness(0.8); /* Slightly dim the image to make text pop, not changing color */
}

/* General Section Titles and Text */
.page-payment-methods-withdrawal-guide__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-payment-methods-withdrawal-guide__text-block {
    font-size: 17px;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: justify;
}

.page-payment-methods-withdrawal-guide__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-payment-methods-withdrawal-guide__text-link:hover {
    color: var(--secondary-color);
}

/* Step Cards */
.page-payment-methods-withdrawal-guide__steps-section {
    background-color: var(--bg-dark);
}

.page-payment-methods-withdrawal-guide__step-card {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods-withdrawal-guide__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
}

.page-payment-methods-withdrawal-guide__step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.page-payment-methods-withdrawal-guide__step-number {
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-payment-methods-withdrawal-guide__step-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0;
}

.page-payment-methods-withdrawal-guide__step-description {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* List Styles */
.page-payment-methods-withdrawal-guide__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-payment-methods-withdrawal-guide__list-item {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.6;
    color: #e0e0e0;
    display: flex;
    align-items: flex-start;
}

.page-payment-methods-withdrawal-guide__list-item::before {
    content: '✅';
    margin-right: 15px;
    font-size: 20px;
    flex-shrink: 0;
}

/* Method Card */
.page-payment-methods-withdrawal-guide__method-card {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.page-payment-methods-withdrawal-guide__method-title {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-payment-methods-withdrawal-guide__method-description {
    font-size: 17px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.page-payment-methods-withdrawal-guide__bank-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-payment-methods-withdrawal-guide__bank-logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.2); /* Subtle effect to blend with dark theme */
    transition: filter 0.3s ease;
}

.page-payment-methods-withdrawal-guide__bank-logo:hover {
    filter: brightness(1) grayscale(0);
}

/* FAQ Section */
.page-payment-methods-withdrawal-guide__faq-section {
    background-color: var(--bg-dark);
    padding-bottom: 80px;
}

.page-payment-methods-withdrawal-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-payment-methods-withdrawal-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color-dark);
}

.page-payment-methods-withdrawal-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg-dark);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-payment-methods-withdrawal-guide__faq-question:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-payment-methods-withdrawal-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-light);
    pointer-events: none;
}

.page-payment-methods-withdrawal-guide__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-payment-methods-withdrawal-guide__faq-item.active .page-payment-methods-withdrawal-guide__faq-toggle {
    transform: rotate(45deg); /* Change from + to X for active state */
    color: var(--secondary-color);
}

.page-payment-methods-withdrawal-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.7;
}

.page-payment-methods-withdrawal-guide__faq-item.active .page-payment-methods-withdrawal-guide__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color-dark);
}

/* Image Styling */
.page-payment-methods-withdrawal-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods-withdrawal-guide__image-center {
    text-align: center;
}

/* Conclusion Section */
.page-payment-methods-withdrawal-guide__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-payment-methods-withdrawal-guide__main-title {
        font-size: 42px;
    }
    .page-payment-methods-withdrawal-guide__description {
        font-size: 18px;
    }
    .page-payment-methods-withdrawal-guide__section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-payment-methods-withdrawal-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-payment-methods-withdrawal-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 60px;
    }
    .page-payment-methods-withdrawal-guide__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-payment-methods-withdrawal-guide__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-payment-methods-withdrawal-guide__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-payment-methods-withdrawal-guide__cta-button--large {
        font-size: 18px;
        padding: 15px 40px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-payment-methods-withdrawal-guide__section {
        padding: 40px 15px;
    }
    .page-payment-methods-withdrawal-guide__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-payment-methods-withdrawal-guide__text-block, .page-payment-methods-withdrawal-guide__list-item, .page-payment-methods-withdrawal-guide__step-description, .page-payment-methods-withdrawal-guide__method-description {
        font-size: 15px;
    }
    .page-payment-methods-withdrawal-guide__step-card {
        padding: 20px;
    }
    .page-payment-methods-withdrawal-guide__step-number {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 10px;
    }
    .page-payment-methods-withdrawal-guide__step-title {
        font-size: 20px;
    }
    .page-payment-methods-withdrawal-guide__method-title {
        font-size: 24px;
    }
    .page-payment-methods-withdrawal-guide__bank-logo {
        max-width: 100px;
    }
    .page-payment-methods-withdrawal-guide__faq-question {
        padding: 15px 20px;
    }
    .page-payment-methods-withdrawal-guide__faq-question h3 {
        font-size: 16px;
    }
    .page-payment-methods-withdrawal-guide__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-payment-methods-withdrawal-guide__faq-answer {
        padding: 15px 20px;
    }
    .page-payment-methods-withdrawal-guide__faq-item.active .page-payment-methods-withdrawal-guide__faq-answer {
        padding: 15px 20px !important;
    }

    /* Ensure images do not overflow */
    .page-payment-methods-withdrawal-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure containers do not overflow */
    .page-payment-methods-withdrawal-guide__section,
    .page-payment-methods-withdrawal-guide__container,
    .page-payment-methods-withdrawal-guide__hero-section,
    .page-payment-methods-withdrawal-guide__hero-content,
    .page-payment-methods-withdrawal-guide__hero-image-wrapper,
    .page-payment-methods-withdrawal-guide__step-card,
    .page-payment-methods-withdrawal-guide__method-card,
    .page-payment-methods-withdrawal-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }
    .page-payment-methods-withdrawal-guide__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-payment-methods-withdrawal-guide__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-payment-methods-withdrawal-guide__bank-logos {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-payment-methods-withdrawal-guide__bank-logo {
        max-width: 80% !important;
        width: auto !important;
    }
}