.dph-cf7-row {
    display: flex;
    gap: 16px;
}

.dph-cf7-field {
    flex: 1;
    margin-bottom: 18px;
}

.dph-cf7-field label {
    display: block;
    font-weight: 600;
    font-size: 14.5px;
    color: #201d19;
}

.wpcf7-form-control {
    width: 100%;
    border: 1px solid #e4dfd5 !important;
    border-radius: 12px !important;
    padding: 13px 16px !important;
    font-size: 14.5px !important;
    font-family: inherit !important;
    background: #fff;
    transition: border-color 0.2s ease;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: #fe9900 !important;
}

textarea.wpcf7-form-control {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form-control.wpcf7-submit {
    width: 100%;
    background: linear-gradient(135deg, #FC9B05, #FF6B00) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px !important;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    box-shadow: 0 10px 24px -8px rgba(255, 107, 0, 0.55);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.wpcf7-form-control.wpcf7-submit:hover {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .dph-cf7-row {
        flex-direction: column;
        gap: 0;
    }

    .dph-contact-card {
        padding: 28px 22px;
        border-radius: 20px;
    }
}

.wpcf7 form .wpcf7-response-output{
    text-align: center;
    color: white;
    border-radius: 20px;
    border: none !important;
    padding: 10px;
    margin: 0;
}

.wpcf7-form.invalid .wpcf7-response-output{
    background-color: red;
}

.wpcf7-form.sent .wpcf7-response-output{
    background-color: #22C55E;
}



.newsletter-form {
  position: relative;
  max-width: 600px;
}

.newsletter-form .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

/* Icon mail bên trái */
.newsletter-form .wpcf7-form-control-wrap::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 15px;
  background-color: rgba(255, 255, 255, 0.55);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m22 6-10 7L2 6'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='4' width='20' height='16' rx='2'/><path d='m22 6-10 7L2 6'/></svg>") no-repeat center / contain;
  pointer-events: none;
  z-index: 2;
}

.newsletter-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 18px 50px !important;
  font-size: 16px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-form input[type="email"]:focus {
  border-color: #f5901f;
}

/* Nút gửi hình tròn, icon máy bay giấy kiểu Telegram */
.newsletter-form input[type="submit"] {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: #f5901f;
  color: transparent;
  text-indent: -9999px;
  cursor: pointer;
  padding: 0;
  z-index: 3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M2.01 21 23 12 2.01 3 2 10l15 2-15 2z'/></svg>");
  background-repeat: no-repeat;
  background-position: 52% 50%;
  background-size: 20px 20px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.newsletter-form input[type="submit"]:hover {
  background-color: #ff9f33;
  transform: translateY(-50%) scale(1.06);
}

.newsletter-form input[type="submit"]:active {
  transform: translateY(-50%) scale(0.96);
}

/* Ẩn spinner mặc định che mất nút, và message thông báo lỗi CF7 nếu muốn style lại */
.newsletter-form .wpcf7-spinner {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

.newsletter-form br {
  display: none;
}

.wpcf7-not-valid-tip{
  display:none;
}