/* --- RESET & CHUẨN HÓA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    padding: 20px 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* --- HEADER --- */
.header {
    margin-bottom: 25px;
}

.header h1 {
    color: #004693;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.header p {
    color: #555;
    font-size: 14px;
}

/* --- LƯU Ý QUAN TRỌNG --- */
.alert-box {
    border: 1px solid #ffccd0;
    background-color: #fff5f5;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.alert-icon i {
    font-size: 48px;
    color: #ff3b30;
}

.alert-content h2 {
    color: #d92b20;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.alert-content p {
    color: #1c3d73;
    font-size: 15px;
    font-weight: 600;
}

.alert-content h3 {
    color: #004693;
    font-size: 18px;
    font-weight: 700;
    margin: 6px 0;
}

.alert-content .sub-note {
    color: #0056b3;
    font-weight: 400;
    font-size: 14px;
}

/* --- ĐỊNH DẠNG CHUNG CÁC PHƯƠNG THỨC --- */
.payment-method {
    border: 1px solid #e0e5ed;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
}

.method-title {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f2f5;
}

.method-number {
    width: 32px;
    height: 32px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.method-title h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.method-title p {
    color: #666;
    font-size: 13px;
}

.method-body {
    padding: 20px;
}

/* --- MÀU SẮC CHỦ ĐẠO --- */
.color-blue h2 { color: #004693; }
.bg-blue { background-color: #1352a2; }

.color-green h2 { color: #1e7e34; }
.bg-green { background-color: #28a745; }

.bg-light-green { background-color: #f4faf6; }
.bg-light-blue { background-color: #f4f7fa; }
.bg-white { background-color: #ffffff; }

/* --- BỐ TRÍ LAYOUT (GRID & FLEX) --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f5;
}

.info-item span {
    display: block;
    font-size: 12px;
    color: #777;
}

.info-item strong {
    font-size: 14px;
    color: #333;
}

.info-item .account-number {
    font-size: 20px;
    color: #004693;
    font-weight: 700;
}

.icon-gray {
    color: #6c757d;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.transfer-note {
    margin-top: 15px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.card-info h3, .card-qr h3 {
    font-size: 14px;
    color: #004693;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-placeholder {
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 12px;
    background: #fff;
    display: inline-block;
}

.qr-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* PHƯƠNG THỨC 2 (COD) */
.sub-card {
    border: 1px solid #d4edda;
    border-radius: 10px;
    padding: 20px;
}

.text-center {
    text-align: center;
}

.location-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 15px;
}

.sub-card p {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
}

/* PHƯƠNG THỨC 3 (SHOWROOM) */
.full-width-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.showroom-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
}

.showroom-card h4 {
    color: #004693;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.showroom-card p {
    font-size: 13px;
    color: #333;
    margin-bottom: 6px;
}

.flex-justify {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* --- CAM KẾT CỦA MAXBUY --- */
.commitments-section {
    background-color: #f7f9fc;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #e9edf4;
}

.commitments-section h3 {
    text-align: center;
    color: #004693;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
}

.commitments-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 15px;
    text-align: center;
}

.commit-item {
    flex: 1;
}

.commit-item i {
    font-size: 32px;
    color: #004693;
    margin-bottom: 12px;
}

.commit-item p {
    font-size: 12px;
    color: #333;
    line-height: 1.4;
    padding: 0 5px;
}

/* --- FOOTER HỖ TRỢ --- */
.support-footer {
    background-color: #0b54a8;
    color: #ffffff;
    border-radius: 10px;
    padding: 18px 25px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.large-icon {
    font-size: 36px;
}

.footer-left h4 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-left p {
    font-size: 13px;
    opacity: 0.9;
}

.footer-right {
    display: flex;
    gap: 15px;
}

.btn-footer {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-footer:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* --- TƯƠNG THÍCH DI ĐỘNG (RESPONSIVE) --- */
@media (max-width: 768px) {
    .grid-2, .commitments-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 20px;
    }
    
    .support-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
    }
    
    .footer-right {
        width: 100%;
        flex-direction: column;
    }
    
    .flex-justify {
        flex-direction: column;
        gap: 10px;
    }
}