/*
Theme Name:  FPT Pro
Theme URI:   https://fpt.vn
Description: WordPress theme converted from the FPT Telecom static HTML template (fptpro). Features banner sliders, package cards, product showcases, FAQ sections, and responsive layout.
Version:     1.0.0
Author:      FPT Telecom (WP conversion)
Text Domain: fptpro
*/

/* ===== Global Font ===== */
body,
button,
input,
select,
textarea {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
}

/* ===== Contact Form 7 — Modern Minimal ===== */

/* Wrapper around the whole form */
.wpcf7 form {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 2.5rem;
  font-family: inherit;
  box-sizing: border-box;
}

/* Labels */
.wpcf7 form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

/* Inputs & Textarea */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
  width: 100%;
  background: #f9fafb;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  box-sizing: border-box;
}

.wpcf7 form textarea {
  height: 120px;
  resize: vertical;
}

.wpcf7 form input:focus,
.wpcf7 form textarea:focus {
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: #fff;
}

/* Submit button */
.wpcf7 form input[type="submit"] {
  width: 100%;
  padding: 11px 0;
  background: #4464ed;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.1s;
}

.wpcf7 form input[type="submit"]:hover {
  opacity: 0.85;
}

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

/* Validation errors */
.wpcf7 form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #dc2626;
  display: block;
}

/* Response messages */
.wpcf7 .wpcf7-response-output {
  border-radius: 8px;
  padding: 10px 14px !important;
  font-size: 13px;
  border: none;
  margin-top: 0 !important;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: #f0fdf4;
  color: #166534;
}

.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked {
  background: #fef2f2;
  color: #991b1b;
}

/* Select wrapper — CF7 wraps select in a span */
.wpcf7 form .wpcf7-select {
  width: 100%;
  background: #f9fafb;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 40px 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  outline: none;
  cursor: pointer;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  box-sizing: border-box;

  /* Hide default arrow, add custom one */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.wpcf7 form .wpcf7-select:focus {
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background-color: #fff;
}

/* Style the placeholder/first option */
.wpcf7 form .wpcf7-select option[value=""] {
  color: #9ca3af;
}

.content_info_two_col .left .block-content-full .post-content-body * {
  font-size: clamp(15px, 2vw, 16px) !important;
  line-height: 2em;
}

.content_info_two_col .left .block-content-full .post-content-body .wp-block-quote {
  max-width: 96% !important;
}

.wp-block-image .aligncenter,
img.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.showcase-view-all {
  text-align: center;
}