/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f1f8e9 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    color: #333;
}

/* Typography */
h1, h2, h3 { color: #2E7D32; margin-top: 0; }
h4 { color: #555; margin: 0 0 5px; font-weight: 600; }
p { color: #666; font-size: 0.95rem; line-height: 1.5; margin-bottom: 30px; }

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #2E7D32 !important;
    color: white !important;
    text-align: center;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-top: 20px;
}
.btn:hover { background-color: #1b5e20 !important; }

.btn-secondary { background-color: #ef6c00 !important; }
.btn-secondary:hover { background-color: #e65100 !important; }

.btn-outline {
    background-color: #fff !important;
    color: #2E7D32 !important;
    border: 1px solid #2E7D32 !important;
}
.btn-outline:hover { background-color: #e8f5e9 !important; }

.btn-copy { margin-bottom: 10px; }

/* Card & Container Boxes */
.card-centered, .container-box {
    background-color: #fff;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    box-sizing: border-box;
}

.card-centered {
    max-width: 400px;
    padding: 40px 30px;
    text-align: center;
}

.container-box {
    max-width: 500px;
}

/* Header & Content for Container Box */
.header-box {
    background-color: #2E7D32;
    padding: 20px;
    border-bottom: 1px solid #1b5e20;
    text-align: center;
    color: white;
}
.header-box h3 { margin: 0; color: white; font-weight: 600; }
.content-box { padding: 20px; }

/* Icon Box (Success/Error/Warning) */
.icon-box {
    width: 80px; height: 80px;
    background-color: #e8f5e9;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.icon-box svg { width: 40px; height: 40px; fill: #2E7D32; }
.icon-box.error { background-color: #ffebee; }
.icon-box.error svg { fill: #c62828; }
.icon-box.warning { background-color: #fff8e1; }
.icon-box.warning svg { fill: #f57f17; }
.icon-box.info { background-color: #e3f2fd; }
.icon-box.info svg { fill: #1565c0; }

/* Forms & Inputs */
.info-group { margin-bottom: 15px; }
.label { font-size: 0.85rem; color: #666; display: block; margin-bottom: 4px; }
.value { font-size: 1rem; font-weight: 600; color: #333; }
.form-group { margin-bottom: 20px; }
.form-control {
    width: 100%; padding: 12px;
    border: 1px solid #ddd; border-radius: 8px;
    box-sizing: border-box; font-size: 1rem;
}

/* Summary Box (Deposit) */
.summary-box {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}
.summary-row {
    display: flex; justify-content: space-between; margin-bottom: 8px;
    font-size: 0.9rem; color: #555;
}
.summary-row span:last-child { font-weight: 600; color: #333; }
.summary-row.total {
    border-top: 1px dashed #ccc; padding-top: 10px; margin-top: 10px;
    margin-bottom: 0; align-items: center;
}
.summary-row.total span:first-child { font-size: 1rem; font-weight: 700; color: #333; }
.summary-row.total span:last-child { font-size: 1.2rem; font-weight: 700; color: #ef6c00; }

/* Payment Instruction Specifics */
.amount-label { font-size: 0.9rem; color: #666; margin-bottom: 5px; text-align: center; }
.amount-value { font-size: 2rem; font-weight: 800; color: #ef6c00; margin-bottom: 20px; text-align: center; }
.va-box {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.va-label { font-size: 0.9rem; color: #666; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.va-number { 
    font-size: 1.6rem; font-weight: 700; color: #333; 
    letter-spacing: 1px; margin-bottom: 10px; white-space: nowrap;
}
.va-bank { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.va-bank img { max-width: 150px; }
.expiry-info { font-size: 0.85rem; color: #888; margin-top: 15px; text-align: center; }
.countdown-box {
    background: #fff8e1; color: #f57f17;
    padding: 8px 12px; border-radius: 6px;
    font-weight: 700; margin-top: 8px; display: inline-block;
}

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 9999;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal-content {
    background: white; padding: 30px; border-radius: 16px;
    width: 90%; max-width: 400px; text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: scale(0.9); transition: transform 0.3s ease;
}
.modal-overlay.show .modal-content { transform: scale(1); }
.modal-icon { font-size: 3rem; margin-bottom: 15px; }
.modal-icon-warning {
    width: 60px; height: 60px; background: #fff7e6;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.modal-icon-warning svg { width: 32px; height: 32px; fill: #fa8c16; }
.modal-title { font-size: 1.25rem; font-weight: 700; color: #333; margin-bottom: 10px; }
.modal-text, .modal-message { color: #666; margin-bottom: 25px; line-height: 1.5; }
.modal-btn { width: 100%; margin-top: 0; }