/* === Container === */
.dda-ur-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 30px;
  background: #fafafa;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* === Title === */
.dda-ur-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #111827;
  position: relative;
}
.dda-ur-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #e11d48;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* === Form Layout === */
.dda-ur-form { display:flex; flex-direction:column; gap:20px; }
.dda-ur-row { display:flex; gap:20px; flex-wrap:wrap; }
.dda-ur-field { flex:1; display:flex; flex-direction:column; }
.dda-ur-field.full { flex:100%; }

/* === Labels === */
.dda-ur-field label {
  font-size:14px; font-weight:600; margin-bottom:6px; color:#111827;
}

/* === Inputs & Textareas === */
.dda-ur-field input,
.dda-ur-field select,
.dda-ur-field textarea {
  padding:12px 16px; border:1px solid #ddd; border-radius:30px;
  font-size:15px; background:#fff; outline:none;
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
}
.dda-ur-field textarea { border-radius:16px; resize:vertical; }
.dda-ur-field input:focus,
.dda-ur-field select:focus,
.dda-ur-field textarea:focus {
  border-color:#e11d48; box-shadow:0 0 0 3px rgba(225,29,72,0.2);
}

/* === TomSelect custom === */
.dda-tomselect .ts-control {
  border-radius: 30px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 15px;
  background: #fff;
}
.dda-tomselect .ts-dropdown {
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
}

/* === GPS Button === */
.dda-ur-btn {
  margin-top:8px; background:#374151; color:#fff; border:none;
  border-radius:30px; padding:8px 18px; cursor:pointer;
  font-size:14px; transition:background 0.2s ease, transform 0.1s ease;
}
.dda-ur-btn:hover { background:#111827; transform:translateY(-1px); }

/* === Submit Button === */
.dda-ur-submit { text-align:center; }
.dda-ur-submit button {
  background:#e11d48; color:#fff; font-size:16px; font-weight:600;
  padding:14px 36px; border:none; border-radius:40px; cursor:pointer;
  transition:background 0.2s ease, transform 0.1s ease;
}
.dda-ur-submit button:hover { background:#be123c; transform:translateY(-1px); }

/* === Alerts === */
.dda-ur-alert { margin-bottom:20px; padding:12px 15px; border-radius:8px; font-weight:600; }
.dda-ur-alert.success { background:#ecfdf5; border:1px solid #10b981; color:#065f46; }
.dda-ur-alert.error { background:#fef2f2; border:1px solid #f87171; color:#7f1d1d; }

/* === Hide Form === */
.hide-form { display:none; }

/* === Responsive === */
@media (max-width:768px) { .dda-ur-row { flex-direction:column; gap:15px; } }

/* === Loader === */
.dda-loader {
  background:rgba(255,255,255,0.9); position:absolute; top:0; left:0; right:0; bottom:0;
  display:none; align-items:center; justify-content:center;
  z-index:1000; flex-direction:column; font-family:"Segoe UI", sans-serif; border-radius:20px;
}
.dda-spinner {
  border:4px solid #f3f3f3; border-top:4px solid #e11d48; border-radius:50%;
  width:45px; height:45px; animation:spin 1s linear infinite; margin-bottom:12px;
}
@keyframes spin { 0% {transform:rotate(0deg);} 100% {transform:rotate(360deg);} }
.dda-loader-text { font-size:15px; font-weight:600; color:#111827; }

/* === Success Box === */
.dda-ur-success-box {
  max-width: 600px;
  margin: 20px auto;
  background: #ecfdf5;
  border: 1px solid #10b981;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: "Segoe UI", sans-serif;
}
.dda-ur-success-box .icon-wrap {
  width: 60px; height: 60px; margin: 0 auto 15px;
  border-radius: 50%;
  background: #10b981;
  display: flex; align-items: center; justify-content: center;
}
.dda-ur-success-box .icon { color: #fff; font-size: 28px; font-weight: bold; }

/* === Error Box === */
.dda-ur-error-box {
  max-width: 600px;
  margin: 20px auto;
  background: #fef2f2;
  border: 1px solid #f87171;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: "Segoe UI", sans-serif;
}
.dda-ur-error-box .icon-wrap {
  width: 60px; height: 60px; margin: 0 auto 15px;
  border-radius: 50%;
  background: #ef4444;
  display: flex; align-items: center; justify-content: center;
}
.dda-ur-error-box .icon { color: #fff; font-size: 28px; font-weight: bold; }
