/* signup.html — CSP (style-src 'self') için sayfadan taşındı */
.auth-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #d2e3fc 100%);
}
.auth-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(60, 64, 67, 0.12);
  border: 1px solid #dadce0;
  width: 100%;
  max-width: 480px;
  padding: 40px;
  box-sizing: border-box;
}
.auth-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.auth-brand-text {
  font-family: 'Google Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #202124;
}
.auth-brand-text span {
  color: #1a73e8;
}
.auth-title {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 6px;
}
.auth-subtitle {
  font-size: 14px;
  color: #5f6368;
}
.promo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e6f4ea;
  border: 1px solid #ceead6;
  color: #137333;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-label {
  font-size: 13px;
  font-weight: 500;
  color: #3c4043;
}
.auth-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.auth-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
.role-option {
  border: 2px solid #dadce0;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
  background: #fafafa;
  position: relative;
}
.role-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.role-option.active, .role-option:hover {
  border-color: #1a73e8;
  background: #f0f7ff;
}
.role-icon {
  font-size: 20px;
}
.role-text strong {
  display: block;
  font-size: 14px;
  color: #202124;
}
.role-text span {
  display: block;
  font-size: 11px;
  color: #5f6368;
  line-height: 1.3;
  margin-top: 2px;
}
.auth-terms-note {
  font-size: 12px;
  color: #5f6368;
  line-height: 1.4;
}
.auth-terms-note a {
  color: #1a73e8;
  text-decoration: none;
}
.auth-terms-note a:hover {
  text-decoration: underline;
}
.auth-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.auth-link {
  color: #1a73e8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.auth-link:hover {
  text-decoration: underline;
}
.auth-btn-submit {
  background: #1a73e8;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.auth-btn-submit:hover {
  background: #1557b0;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
}
.auth-footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #5f6368;
}
.auth-footer a {
  color: #5f6368;
  text-decoration: none;
}
.auth-footer a:hover {
  color: #202124;
  text-decoration: underline;
}

.auth-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fce8e6;
  border: 1px solid #f6aea9;
  color: #c5221f;
  font-size: 14px;
}
.auth-error[hidden] {
  display: none;
}
