/* בסיס עיצוב לאתר ההרשמה */

/* שימוש במשתני CSS להגדרת צבעי בסיס שניתן לשנות בקלות */
:root {
  --primary-color: #3f51b5; /* כחול סגלגל לכפתורים וכותרות */
  --secondary-color: #f5f5f5; /* רקע רך לאזורים */
  --text-color: #333333; /* צבע טקסט ראשי */
  --button-text-color: #ffffff; /* צבע הטקסט בכפתורים */
  --button-hover-color: #303f9f; /* צבע כפתור במצב רחף */
}

/* הגדרות כלליות */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #f6f9fc 0%, #e0e7ff 100%);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--primary-color), #5c6bc0);
  color: var(--button-text-color);
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

header p {
  margin: 0;
  font-size: 1rem;
}

.logo-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff20;
}

@media (min-width: 700px) {
  .logo-title-wrapper {
    flex-direction: row;
    gap: 1rem;
  }
  .logo-title-wrapper h1 {
    margin: 0;
  }
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 3rem;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section h2 {
  margin-top: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

section p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

label {
  font-weight: bold;
  margin-right: 0.5rem;
}

select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: var(--primary-color);
  color: var(--button-text-color);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.btn:not(:disabled):hover {
  background-color: var(--button-hover-color);
}

.note {
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 0.5rem;
}

footer {
  background-color: var(--primary-color);
  color: var(--button-text-color);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--button-text-color);
  text-decoration: underline;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: none;
}

/* רספונסיביות – התאמת התוכן למסך קטן יותר */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }
  section {
    padding: 1rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}