/* ======================
   Base Styles – Sahoosh Form
   ====================== */

:root {
  --primary: #0078b8;
  --background: #f7f9fc;
  --text: #333;
  --radius: 12px;
  --shadow: 0 4px 12px rgba(0,0,0,.08);
}

body {
  font-family: IRANSansX;
  direction: rtl;
  background: #7038da;
  margin: 0;
  color: var(--text);
}

form {
  max-width: 480px;
  margin: 60px auto;
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 24px;
}

label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

input,
textarea {
  width: 98%;
  padding: 1%;
  margin: 1% auto;
  min-height: 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,120,184,0.1);
}

button {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
  font-family: IRANSansX;
}

button:hover {
  background: #005f94;
}

/* ===== Select Style ===== */
select {
  -webkit-appearance: menulist; /* به Safari می‌گه از ظاهر سیستم استفاده کن */
  appearance: menulist;
  background-color: #fff;
  width: 100%;
  padding: 2%;
  margin: 1% auto;
  min-height: 30px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper::after {
  content: "▼";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
}


/* ===== Header Style ===== */
.header {
  text-align: center;
  margin: 20px auto;
}

.header .logo {
    background-color: white;
  width: 90px;
  height: auto;
  border-radius: 50%;
    padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.header h1 {
  font-size: 28px;
  color: white;
  margin: 10px 0 4px;
}

.header p {
  color: #c1c1c1;
  font-size: 15px;
  margin: 0;
}






@media (max-width: 500px) {
  form { margin: 20px; }
}









