/* style/payment-methods.css */

/* Base styles for the payment methods page */
.page-payment-methods {
    font-family: 'Arial', sans-serif;
    color: #f5e6d0; /* Light text for dark backgrounds */
    background-color: #0A192F; /* Primary dark background */
    line-height: 1.6;
}

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

.page-payment-methods__highlight {
    color: #FFD700; /* Secondary gold for highlights */
}

.page-payment-methods__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.page-payment-methods__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A192F; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-payment-methods__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-payment-methods__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-payment-methods__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-2px);
}

.page-payment-methods__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.page-payment-methods__btn--large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.page-payment-methods__inline-link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-payment-methods__inline-link:hover {
    color: #e6c200;
}

/* Hero Section */
.page-payment-methods__hero-section {
    background: linear-gradient(135deg, #0A192F 0%, #3a4a61 100%); /* Dark gradient */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-payment-methods__hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

/* Section Titles */
.page-payment-methods__section-title {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-payment-methods__text-content {
    font-size: 1.1rem;
    color: #f5e6d0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Overview Section */
.page-payment-methods__overview-section {
    padding: 80px 0;
    background-color: #122842; /* Slightly lighter dark blue */
}

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

.page-payment-methods__feature-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-payment-methods__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-payment-methods__feature-title {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-payment-methods__feature-description {
    color: #ccc;
    font-size: 1rem;
}

/* Guide Sections */
.page-payment-methods__guide-section {
    padding: 80px 0;
}

.page-payment-methods__guide-section--deposit {
    background-color: #0A192F;
}

.page-payment-methods__guide-section--withdrawal {
    background-color: #122842;
}

.page-payment-methods__step-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 30px;
}

.page-payment-methods__step-list li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
    color: #f5e6d0;
    font-size: 1.1rem;
}

.page-payment-methods__step-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFD700;
    color: #0A192F;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__process-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-payment-methods__image-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.page-payment-methods__note {
    font-style: italic;
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 20px;
    text-align: center;
}

/* Limits and Fees Section */
.page-payment-methods__limits-fees-section {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-payment-methods__table-responsive {
    overflow-x: auto;
    margin-top: 30px;
}

.page-payment-methods__data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: #122842;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__data-table th,
.page-payment-methods__data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #2a3e59; /* Lighter border for dark table */
    color: #f5e6d0;
}

.page-payment-methods__data-table th {
    background-color: #FFD700;
    color: #0A192F;
    font-weight: bold;
    font-size: 1.1rem;
}

.page-payment-methods__data-table tbody tr:hover {
    background-color: #1a304a;
}

/* Security Section */
.page-payment-methods__security-section {
    padding: 80px 0;
    background-color: #122842;
}

.page-payment-methods__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-payment-methods__security-list li {
    background-color: #0A192F;
    padding: 25px;
    border-radius: 10px;
    color: #f5e6d0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFD700;
}

.page-payment-methods__security-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    filter: invert(80%) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(1.2);
}

/* Currency Exchange Section */
.page-payment-methods__currency-exchange-section {
    padding: 80px 0;
    background-color: #0A192F;
}

/* Transaction History Section */
.page-payment-methods__transaction-history-section {
    padding: 80px 0;
    background-color: #122842;
}

/* FAQ Section */
.page-payment-methods__faq-section {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-payment-methods__faq-item {
    background-color: #122842;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
    font-size: 1.3rem;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-payment-methods__faq-answer {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
}

/* Detail Pages Section */
.page-payment-methods__detail-pages-section {
    padding: 80px 0;
    background-color: #122842;
}

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

.page-payment-methods__detail-item {
    background-color: #0A192F;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-payment-methods__detail-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.page-payment-methods__detail-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-payment-methods__detail-title a:hover {
    color: #fff;
}

.page-payment-methods__detail-description {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-payment-methods__detail-item .page-payment-methods__btn {
    align-self: flex-start;
}

/* CTA Section */
.page-payment-methods__cta-section {
    background: linear-gradient(90deg, #0A192F, #3a4a61);
    padding: 80px 0;
    text-align: center;
    border-top: 5px solid #FFD700;
}

.page-payment-methods__cta-title {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-payment-methods__cta-description {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-payment-methods__hero-title {
        font-size: 2.8rem;
    }

    .page-payment-methods__section-title {
        font-size: 2rem;
    }

    .page-payment-methods__cta-title {
        font-size: 2.2rem;
    }

    .page-payment-methods__feature-grid, .page-payment-methods__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-payment-methods__hero-section {
        padding: 80px 0;
    }

    .page-payment-methods__hero-title {
        font-size: 2.2rem;
    }

    .page-payment-methods__hero-description {
        font-size: 1rem;
    }

    .page-payment-methods__section-title {
        font-size: 1.8rem;
    }

    .page-payment-methods__cta-title {
        font-size: 1.8rem;
    }

    .page-payment-methods__data-table th, .page-payment-methods__data-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .page-payment-methods__security-list li {
        font-size: 1rem;
        padding: 20px;
    }

    .page-payment-methods__faq-question {
        font-size: 1.1rem;
    }

    .page-payment-methods__faq-answer {
        font-size: 0.95rem;
    }

    .page-payment-methods__btn--large {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-payment-methods__hero-section {
        padding: 60px 0;
    }

    .page-payment-methods__hero-title {
        font-size: 1.8rem;
    }

    .page-payment-methods__section-title {
        font-size: 1.5rem;
    }

    .page-payment-methods__cta-title {
        font-size: 1.6rem;
    }

    .page-payment-methods__feature-grid, .page-payment-methods__detail-list {
        grid-template-columns: 1fr;
    }

    .page-payment-methods__step-list li {
        padding-left: 50px;
        font-size: 1rem;
    }

    .page-payment-methods__step-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .page-payment-methods__security-list li {
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-top: 5px solid #FFD700;
    }

    .page-payment-methods__security-icon {
        margin: 0 0 10px 0;
    }

    .page-payment-methods__data-table {
        display: block;
        width: 100%;
    }

    .page-payment-methods__data-table thead, .page-payment-methods__data-table tbody, .page-payment-methods__data-table th, .page-payment-methods__data-table td, .page-payment-methods__data-table tr {
        display: block;
    }

    .page-payment-methods__data-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .page-payment-methods__data-table tr {
        margin-bottom: 15px;
        border: 1px solid #2a3e59;
        border-radius: 8px;
        overflow: hidden;
    }

    .page-payment-methods__data-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .page-payment-methods__data-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #FFD700;
    }

    .page-payment-methods__data-table td:nth-of-type(1)::before { content: "Phương thức:"; }
    .page-payment-methods__data-table td:nth-of-type(2)::before { content: "Hạn mức Nạp tiền:"; }
    .page-payment-methods__data-table td:nth-of-type(3)::before { content: "Hạn mức Rút tiền:"; }
    .page-payment-methods__data-table td:nth-of-type(4)::before { content: "Phí Giao dịch:"; }
    .page-payment-methods__data-table td:nth-of-type(5)::before { content: "Thời gian xử lý:"; }
}