@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;700;800&display=swap');

.vea-contact-section { 
    font-family: 'Be Vietnam Pro', sans-serif !important;
    padding: 60px 20px; 
    background: linear-gradient(135deg, #0f0524 0%, #1e0a4d 100%); 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ép font cho tất cả thành phần */
input, textarea, button, label, h1, p, span {
    font-family: 'Be Vietnam Pro', sans-serif !important;
}

.vea-container { 
    max-width: 700px; /* Độ rộng vừa phải cho 1 cột */
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Tiêu đề phối màu Logo Footer */
.vea-header { text-align: center; margin-bottom: 35px; }
.vea-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.text-dark { color: #1e0a4d; }
.text-neon {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid 1 cột: Tên và SĐT tự động tách hàng */
.form-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    row-gap: 20px; 
}

label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 700; 
    font-size: 13px; 
    color: #1e0a4d; 
    text-transform: uppercase; 
}

input, textarea { 
    width: 100%; 
    padding: 14px; 
    border: 2px solid #f1f1f1; 
    border-radius: 12px; 
    font-size: 15px; 
    outline: none; 
    transition: 0.3s; 
    background: #fafafa;
}

textarea { resize: none; } /* Khóa kéo giãn ô ghi chú */

input:focus, textarea:focus { 
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

#budget-format { font-weight: 700; color: #ec4899; font-size: 13px; margin-top: 5px; }

/* Nút bấm */
.btn-submit { 
    width: 100%; padding: 18px; background: #1e0a4d; color: #fff; border: none; 
    border-radius: 50px; font-size: 16px; font-weight: 800; cursor: pointer; 
    transition: 0.4s; margin-top: 10px; text-transform: uppercase;
}

.btn-submit:hover { 
    background: linear-gradient(135deg, #6366f1, #ec4899);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

/* Hiệu ứng Loading */
.vea-loading-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 10; opacity: 0; visibility: hidden; transition: 0.3s;
}
.vea-loading-overlay.active { opacity: 1; visibility: visible; }
.spinner {
    width: 40px; height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* MODAL THÔNG BÁO THÀNH CÔNG */
.vea-success-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Nền tối mờ phía sau */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer; /* Cho người dùng biết có thể click để thoát */
}

.vea-success-modal.active {
    opacity: 1;
    visibility: visible;
}

.vea-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: 0.3s;
    cursor: default; /* Bên trong hộp thoại thì không hiện con trỏ pointer */
}

.vea-success-modal.active .vea-modal-content {
    transform: translateY(0);
}

.vea-modal-icon {
    font-size: 60px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.vea-modal-content h2 {
    color: #1e0a4d;
    margin-bottom: 10px;
}

.vea-modal-content p {
    color: #666;
    margin-bottom: 25px;
}

.btn-close-modal {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
}