/* ==========================================================================
   registrace.css — Registration Page Specific Styles
   Registration card, password toggle, GDPR checkbox overrides,
   submit button, success message, trust signals,
   and page-specific responsive overrides.
   ========================================================================== */

/* ===== REGISTRATION CARD ===== */
.reg-section {
  position: relative; z-index: 2; max-width: 1260px; margin: 0 auto;
  padding: 0 2rem 3rem; display: flex; flex-direction: column; align-items: center;
}

.reg-card {
  width: 100%; max-width: 480px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: 0 8px 32px rgba(17, 66, 174, .06), 0 2px 8px rgba(0, 0, 0, .03);
  animation: fadeSlideUp .7s var(--ease-out-expo) .3s both;
}

/* Overrides for registration-specific form group spacing */
.reg-card .form-group { margin-bottom: 1.2rem; }
.reg-card .form-group label { display: block; margin-bottom: .4rem; }

/* Registration-specific input types */
.reg-card .form-group input[type="text"],
.reg-card .form-group input[type="email"],
.reg-card .form-group input[type="password"] {
  width: 100%; padding: .75rem 1rem; font-family: var(--font-body); font-size: .92rem;
  color: var(--gray-900); background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.reg-card .form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(17, 66, 174, .1); }
.reg-card .form-group input.invalid { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 92, 0, .1); }
.reg-card .form-group .field-note { font-size: .72rem; color: var(--gray-400); margin-top: .3rem; }

/* Password toggle */
.password-wrap { position: relative; }
.password-wrap input { padding-right: 2.8rem; }
.password-toggle {
  position: absolute; right: .7rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--gray-400); transition: color .2s;
  display: flex; align-items: center; justify-content: center;
}
.password-toggle:hover { color: var(--gray-700); }

/* GDPR checkbox overrides */
.reg-card .form-check { margin-bottom: 1.5rem; margin-top: .2rem; }
.reg-card .form-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.reg-card .form-check label { font-size: .82rem; color: var(--gray-500); line-height: 1.5; cursor: pointer; }
.reg-card .form-check label a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.reg-card .form-check label a:hover { color: var(--secondary); }
.reg-card .form-check.invalid label { color: var(--orange); }

/* Submit button */
.btn-submit {
  width: 100%; padding: .9rem 2rem; border-radius: var(--radius); font-size: 1rem; font-weight: 700;
  border: none; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white); cursor: pointer; font-family: var(--font-head);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s var(--ease-out-expo);
  box-shadow: 0 2px 8px rgba(17, 66, 174, .15), 0 1px 2px rgba(0, 0, 0, .04);
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0, 0, 0, .08), 0 10px 24px rgba(0, 0, 0, .06); }

.login-link {
  text-align: center; margin-top: 1.2rem; font-size: .88rem; color: var(--gray-500);
}
.login-link a { color: var(--primary); font-weight: 600; text-decoration: none; font-family: var(--font-head); }
.login-link a:hover { text-decoration: underline; }

/* Success message */
.reg-success { display: none; text-align: center; padding: 2rem 0; }
.reg-success.show { display: block; }
.reg-success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: #16A34A;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.reg-success h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; margin-bottom: .6rem; }
.reg-success p { font-size: .95rem; color: var(--gray-500); line-height: 1.7; max-width: 360px; margin: 0 auto; }

/* ===== TRUST SIGNALS ===== */
.trust-signals {
  display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2.5rem; animation: fadeSlideUp .7s var(--ease-out-expo) .5s both;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--gray-500); font-family: var(--font-head); font-weight: 500;
}
.trust-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--gray-50);
  border: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); flex-shrink: 0;
}

/* ===== RESPONSIVE — REGISTRACE ===== */
@media (max-width: 640px) {
  .reg-card { padding: 2rem 1.5rem; }
  .trust-signals { gap: 1.5rem; flex-direction: column; align-items: center; }
}
