/* ============================================
   صفحة انشاء الحساب - view/auth
   مطابق لـ lib/view/auth/sgin_up.dart
   ============================================ */

.signup-page {
  background-color: var(--background-color);
}

.signup-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.signup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 0;
  min-height: 53px;
}

.signup-header__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #333;
  text-decoration: none;
  flex-shrink: 0;
}

.signup-header__back:hover {
  color: var(--primary-color);
}

.signup-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.signup-header__spacer {
  width: 40px;
  flex-shrink: 0;
}

.signup-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 24px 0 0;
  text-align: center;
}

.signup-spacer {
  flex-shrink: 0;
}

.signup-spacer--top { height: 16px; }
.signup-spacer--checkbox { height: 20px; }
.signup-spacer--btn { height: 10px; }
.signup-spacer--mid { height: 24px; }
.signup-spacer--bottom { height: 28px; }

.signup-form-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 601px) {
  .signup-form-wrap {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
}

.signup-form {
  width: 100%;
}

.signup-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
}

.signup-checkbox {
  width: 22px;
  height: 22px;
  margin: 0;
  margin-top: 12px;
  accent-color: var(--primary-color);
  flex-shrink: 0;
  cursor: pointer;
}

.signup-checkbox-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  padding: 12px 0 0 8px;
  cursor: pointer;
  line-height: 1.4;
  flex: 1;
}

.signup-checkbox-link {
  color: var(--primary-color);
  font-weight: 800;
  text-decoration: underline;
}

.signup-checkbox-link:hover {
  text-decoration: none;
}

.signup-form .btn--primary {
  padding: 13px 16px;
}

.signup-link {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 400;
}

.signup-link__accent {
  color: var(--primary-color);
  font-weight: 800;
}

.signup-link:hover .signup-link__accent {
  text-decoration: underline;
}

@media (min-width: 601px) {
  .signup-link {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
}
