@import url("/assets/css/base/tokens.css");

/* ===============================
   DEMO FORM (Sadece #demo-form)
   =============================== */
#demo-form {
  background: #fff;
  padding: 60px 20px;
  font-family: "Montserrat", sans-serif;
}
#demo-form .df-container {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}
#demo-form .df-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: #1b2430;
}
#demo-form .df-title b {
  color: #1e90ff;
}

/* Grid */
#demo-form .df-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
#demo-form .col-2 {
  grid-column: 1 / -1;
}

#demo-form input[type="text"],
#demo-form input[type="email"],
#demo-form input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
}
#demo-form input:focus {
  border-color: #1e90ff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25);
}

/* Telefon alanı */
#demo-form .df-phone {
  display: flex;
  align-items: center;
  gap: 8px;
}
#demo-form .df-flag img {
  width: 22px;
  height: auto;
  border-radius: 2px;
}
#demo-form .df-phone input {
  flex: 1;
}

/* Dropdown + Textarea */
#demo-form label {
  color: #000;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}
#demo-form select,
#demo-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  margin-top: 6px;
  background: #fff;
}

/* Alertler */
#demo-form .df-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
#demo-form .df-alert.success {
  background: #e6f9f0;
  color: #067d4d;
  border: 1px solid #a6e3c4;
}
#demo-form .df-alert.error {
  background: #fde8e8;
  color: #c62828;
  border: 1px solid #f5b5b5;
}

/* Select yazı rengi ve ikon */
#demo-form select {
  color: #002237;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231E90FF' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
#demo-form select option[value=""] {
  color: #6b7280;
}
#demo-form select:focus,
#demo-form textarea:focus {
  border-color: #1e90ff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25);
}
#demo-form textarea {
  min-height: 90px;
  resize: vertical;
  color: #002237;
}

/* Upload */
#demo-form .df-upload {
  margin: 18px 0;
  padding: 16px;
  border: 2px dashed #cfd6de;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}
#demo-form .df-upload p {
  margin-bottom: 8px;
  font-weight: 600;
  color: #1b2430;
}

/* KVKK */
#demo-form .df-kvkk {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
  margin: 12px 0;
}
#demo-form .df-kvkk a {
  color: #1e90ff;
  text-decoration: none;
}

/* reCAPTCHA */
#demo-form .df-recaptcha {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

/* Button */
#demo-form .df-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #1e90ff;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
#demo-form .df-btn:hover {
  background: #1565c0;
}

/* KVKK label'ını yatay hizala */
#demo-form label.df-kvkk {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
  margin: 12px 0;
}
#demo-form label.df-kvkk input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
}
#demo-form label.df-kvkk span {
  display: inline;
}

/* Responsive */
@media (max-width: 768px) {
  #demo-form .df-grid {
    grid-template-columns: 1fr;
  }
  #demo-form .df-recaptcha{
    background: none;
    border: none;
  }
}
