@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --success: #10b981;
  --danger: #ef4444;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem; }

.container {
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  overflow: hidden; }

.header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 2rem;
  text-align: center;
  color: white; }

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem; }

.header p {
  opacity: 0.9; }

/* Barre de progression */
.progress-bar {
  background: var(--light);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative; }

.progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #e2e8f0;
  z-index: 0; }

.progress-step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gray);
  position: relative;
  z-index: 1;
  transition: all 0.3s; }

.progress-step.active {
  background: var(--primary);
  color: white;
  transform: scale(1.2); }

.progress-step.completed {
  background: var(--success);
  color: white; }

/* Formulaire */
.form-container {
  padding: 2rem; }

.form-section {
  display: none; }

.form-section.active {
  display: block;
  animation: fadeIn 0.5s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
.form-group {
  margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem; }

.input-wrapper {
  position: relative; }

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }

.input-wrapper input:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
  transform: translateY(-1px); }

.input-wrapper.error input {
  border-color: var(--danger); }

.input-wrapper.success input {
  border-color: var(--success); }

.input-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  cursor: pointer; }

.validation-msg {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem; }

.validation-msg.error {
  color: var(--danger); }

.validation-msg.success {
  color: var(--success); }

/* Radio buttons stylisés */
.radio-group {
  display: flex;
  gap: 1rem;
  margin: 1rem 0; }

.radio-option {
  flex: 1;
  position: relative; }

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0; }

.radio-label {
  display: block;
  padding: 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600; }

.radio-option input[type="radio"]:checked + .radio-label {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: var(--primary);
  transform: scale(1.05); }

/* Champs organisateur */
.organizer-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out; }

.organizer-fields.show {
  max-height: 600px;
  animation: slideDown 0.5s ease-out; }

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
.organizer-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; }

/* Boutons */
.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem; }

.btn {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); }

.btn-secondary {
  background: #e2e8f0;
  color: var(--dark); }

.btn-secondary:hover {
  background: #cbd5e1; }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed; }

.login-link {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--gray); }

.login-link a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none; }

.login-link a:hover {
  text-decoration: underline; }

/* Success screen */
.success-screen {
  text-align: center;
  padding: 3rem 2rem; }

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem; }

@media (max-width: 768px) {
  .radio-group {
    flex-direction: column; }

  .form-buttons {
    flex-direction: column; } }
/* ==================== ALERTES INLINE ==================== */
#register-alert {
  margin-bottom: 1rem; }

.inline-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: alertSlideIn 0.25s ease; }
  .inline-alert i {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1rem; }
  .inline-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c; }
    .inline-alert--error i {
      color: #ef4444; }
  .inline-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534; }
    .inline-alert--success i {
      color: #22c55e; }
  .inline-alert--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af; }
    .inline-alert--info i {
      color: #3b82f6; }
  .inline-alert--warning {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    color: #92400e; }
    .inline-alert--warning i {
      color: #f59e0b; }

@keyframes alertSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px); }
  to {
    opacity: 1;
    transform: translateY(0); } }
.field-error {
  font-size: 0.82rem;
  color: #ef4444;
  margin-top: 0.3rem;
  min-height: 1rem; }

.input-wrapper.has-error input,
.input-wrapper.has-error select {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important; }

/* ── Social Auth ── */
.social-login {
  margin-bottom: 1.5rem; }

.social-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem; }

.btn-social {
  padding: 0.85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--dark);
  position: relative;
  overflow: hidden; }

.btn-social span {
  font-size: 0.9rem;
  font-weight: 600; }

.btn-social:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.btn-google { color: #DB4437; }
.btn-google:hover { background: #DB4437; color: white; border-color: #DB4437; }

.btn-apple { color: #000000; }
.btn-apple:hover { background: #000000; color: white; border-color: #000000; }

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--gray);
  font-size: 0.875rem; }

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0; }

.divider span {
  padding: 0 1rem; }

@media (max-width: 480px) {
  .social-buttons { grid-template-columns: 1fr; } }



/* ─── Ripple ─────────────────────────────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  width: 120px; height: 120px;
  margin-left: -60px; margin-top: -60px;
  transform: scale(0);
  animation: rippleAnim 0.65s linear forwards;
  pointer-events: none; }

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; } }

/* ─── Progress bar line fill ─────────────────────────────────── */
.progress-bar::after {
  content: '';
  position: absolute;
  top: 50%; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--success), var(--primary));
  z-index: 0;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }

.progress-bar[data-step="2"]::after { transform: scaleX(0.5); }
.progress-bar[data-step="3"]::after { transform: scaleX(1); }

/* ─── Staggered entrance ─────────────────────────────────────── */
.header      { animation: fadeSlideUp 0.4s 0s both; }
.progress-bar { animation: fadeSlideUp 0.4s 0.06s both; }
.social-login { animation: fadeSlideUp 0.4s 0.1s both; }
.divider      { animation: fadeSlideUp 0.4s 0.16s both; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); } }

/*# sourceMappingURL=register.css.map */
