/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* ==== Form CF7 – Mở Lối Vào Đời ==== */
:root{
  --brand:#FF7A00;        /* cam */
  --brand-dark:#E86A00;
  --ink:#1A1A1A;
  --muted:#6B7280;
  --soft:#F5F6F7;
  --bd:#E5E7EB;
}

.cf7-mlvd { 
  background: #fff; 
  padding: 16px; 
  border-radius: 16px; 
 
}

/* 2 cột cho Email + Điện thoại */
.cf7-mlvd .row-2col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 767.98px){
  .cf7-mlvd .row-2col{ grid-template-columns: 1fr; }
}

/* Ô nhập chung */
.cf7-mlvd .wpcf7-form-control{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
}

.cf7-mlvd textarea.wpcf7-form-control { min-height: 150px; resize: vertical; }

.cf7-mlvd .wpcf7-form-control::placeholder{ color: var(--muted); opacity: .8; }

/* Focus đẹp + accessible */
.cf7-mlvd .wpcf7-form-control:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255,122,0,.15);
}

/* Nút submit */
.cf7-mlvd .wpcf7-submit{
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: .2s ease;
  cursor: pointer;
}
.cf7-mlvd .wpcf7-submit:hover{ background: var(--brand-dark); transform: translateY(-1px); }
.cf7-mlvd .actions{ margin-top: 10px; }

/* Trạng thái lỗi/ok của CF7 */
.cf7-mlvd .wpcf7-not-valid { border-color:#ef4444; }
.cf7-mlvd .wpcf7-not-valid-tip{
  color:#ef4444; font-size:.875rem; margin-top:6px;
}
.cf7-mlvd .wpcf7-response-output{
  margin-top:12px; border-radius:10px; padding:10px 12px;
  border:1px solid var(--bd);
}
.wpcf7 form.sent .wpcf7-response-output{ border-color:#16a34a; color:#166534; background:#f0fdf4; }
.wpcf7 form.invalid .wpcf7-response-output{ border-color:#ef4444; color:#7f1d1d; background:#fef2f2; }
