/* =============================================
   ZoZo Contact Form Style - contact-style.css
   Chỉ load trên trang /lien-he/
   ============================================= */

/* --- Wrapper form bên phải --- */
.wpcf7 {
    background: #f7fbff !important;
    border: 1px solid #d0e8f5 !important;
    border-radius: 14px !important;
    padding: 1.8rem 1.6rem !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Accent bar gradient trên đầu */
.wpcf7::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a3d62, #1a7fa6, #00b4d8);
    border-radius: 14px 14px 0 0;
}

/* --- Input & Textarea --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    border: 1.5px solid #cce4f0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #1a1a2e !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    margin-bottom: 4px !important;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: #1a7fa6 !important;
    box-shadow: 0 0 0 3px rgba(26, 127, 166, 0.12) !important;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #aabbcc !important;
}

/* --- Label --- */
.wpcf7 .wpcf7-form-control-wrap,
.wpcf7 p {
    display: block;
    margin-bottom: 10px;
}

/* --- Submit button --- */
.wpcf7 input[type="submit"] {
    width: 100% !important;
    padding: 12px !important;
    background: #0a3d62 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    position: relative !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(10, 61, 98, 0.25) !important;
    margin-top: 6px !important;
}

.wpcf7 input[type="submit"]:hover {
    background: #1a7fa6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(26, 127, 166, 0.38) !important;
}

.wpcf7 input[type="submit"]:active {
    transform: scale(0.98) !important;
}

/* --- Validation messages --- */
.wpcf7-not-valid-tip {
    color: #e74c3c !important;
    font-size: 12px !important;
    margin-top: 3px !important;
}

.wpcf7-mail-sent-ok {
    background: #e8f8f0 !important;
    border: 1px solid #27ae60 !important;
    color: #1e8449 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    margin-top: 10px !important;
}

.wpcf7-validation-errors {
    background: #fef0f0 !important;
    border: 1px solid #e74c3c !important;
    color: #c0392b !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    margin-top: 10px !important;
}

/* --- Fade-up animation khi load --- */
@keyframes zozo-fadeup {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wpcf7 {
    animation: zozo-fadeup 0.5s ease 0.1s both;
}

/* --- Shimmer trên nút submit --- */
.zozo-btn-shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: zozo-shimmer 2.8s infinite;
    pointer-events: none;
    border-radius: 8px;
}

@keyframes zozo-shimmer {
    0%   { left: -80%; }
    100% { left: 130%; }
}

/* --- Wave SVG ở cuối trang --- */
.zozo-wave-divider {
    display: block;
    width: 100%;
    margin-top: 2.5rem;
    opacity: 0.1;
    pointer-events: none;
}

/* --- Thông tin liên hệ bên trái (nếu dùng icon) --- */
.zozo-info-icon {
    color: #1a7fa6;
    margin-right: 8px;
    vertical-align: middle;
}
