/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.4.11_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.1_react@19.2.1__react@19.2.1_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/.pnpm/next@15.4.11_@babel+core@7.29.0_@playwright+test@1.58.2_react-dom@19.2.1_react@19.2.1__react@19.2.1_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/(frontend)/register/styles.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;600;700&display=swap');

:root {
  /* Taekwondo Color Scheme - Light & Sporty */
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-surface-alt: #f8f9fc;
  --color-text: #1a2332;
  --color-muted: #64748b;
  --color-accent: #dc2626; /* Taekwondo Red */
  --color-accent-2: #2563eb; /* Taekwondo Blue */
  --color-accent-gold: #f59e0b; /* Medal Gold */
  --color-border: rgba(30, 41, 59, 0.12);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 16px;
}

.register-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0f4ff 0%, #fef3f2 50%, #f8fafc 100%);
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow', system-ui, sans-serif;
}

.register-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0;
  gap: 0;
  border-radius: var(--radius, 16px);
  box-shadow: var(--shadow-lg, 0 20px 60px rgba(0, 0, 0, 0.12));
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
  animation: slideUp 0.5s ease-out;
  background: var(--color-surface, #ffffff);
}

.register-sidebar {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 50%, #7f1d1d 100%);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.register-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 20px,
    transparent 20px,
    transparent 40px
  );
  pointer-events: none;
}

.sidebar-content {
  position: relative;
  z-index: 1;
}

.sidebar-logo {
  margin-bottom: 1.5rem;
  text-align: center;
}

.sidebar-logo-link {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sidebar-logo-link:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.sidebar-logo img {
  filter: brightness(0) invert(1);
}

.sidebar-brand {
  margin-bottom: 2rem;
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  letter-spacing: 1px;
  color: white;
}

.brand-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.sidebar-description {
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.sidebar-description p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.sidebar-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

.register-container {
  background: var(--color-surface, #ffffff);
  padding: 3rem;
  animation: slideUp 0.5s ease-out;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.register-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(220, 38, 38, 0.02),
    rgba(220, 38, 38, 0.02) 20px,
    transparent 20px,
    transparent 40px
  );
  pointer-events: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .register-wrapper {
    grid-template-columns: 1fr;
  }

  .register-sidebar {
    padding: 2rem 1.5rem;
  }

  .sidebar-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .sidebar-content {
    text-align: center;
  }

  .register-container {
    padding: 2rem 1.5rem;
  }

  .register-header h1 {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .type-selector {
    grid-template-columns: 1fr;
  }
}

.register-header {
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border, rgba(30, 41, 59, 0.12));
}

.register-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.register-header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text, #1a2332);
  margin-bottom: 0;
  letter-spacing: 0.5px;
  margin: 0;
}

.home-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--color-accent, #dc2626);
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid var(--color-accent, #dc2626);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.home-button:hover {
  background: var(--color-accent, #dc2626);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.home-button span {
  font-size: 1.1rem;
}

.register-header p {
  font-size: 0.95rem;
  color: var(--color-muted, #64748b);
  margin: 0;
  line-height: 1.5;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--color-text, #f6f6f6);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-border, rgba(30, 41, 59, 0.12));
  background: var(--color-bg, #f5f7fa);
  color: var(--color-text, #1a2332);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent-2, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: var(--color-surface, #ffffff);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-group small {
  color: var(--color-muted, #bdbdbd);
  font-size: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.type-option {
  padding: 1.5rem;
  border: 2px solid var(--color-border, rgba(30, 41, 59, 0.12));
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  background: var(--color-surface, #ffffff);
  box-shadow: var(--shadow);
}

.type-option:hover {
  border-color: var(--color-accent, #dc2626);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.type-option.active {
  border-color: var(--color-accent, #dc2626);
  background: rgba(220, 38, 38, 0.05);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.type-option h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text, #f6f6f6);
  letter-spacing: 0.5px;
}

.type-option p {
  font-size: 0.9rem;
  color: var(--color-muted, #bdbdbd);
  margin: 0;
}

.submit-button {
  padding: 1rem;
  background: linear-gradient(135deg, var(--color-accent, #dc2626) 0%, #991b1b 100%);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-message {
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
  border: 2px solid rgba(5, 150, 105, 0.3);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  animation: slideDown 0.3s ease-out;
}

.error-message {
  background: rgba(220, 38, 38, 0.15);
  color: var(--color-accent, #dc2626);
  border: 2px solid rgba(220, 38, 38, 0.3);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-link {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--color-muted, #bdbdbd);
  position: relative;
  z-index: 1;
}

.login-link a {
  color: var(--color-accent-2, #2563eb);
  font-weight: 600;
  transition: color 0.2s ease;
}

.login-link a:hover {
  color: var(--color-accent, #dc2626);
}

/* Form Section Titles */
.form-section-title {
  font-family: 'Bebas Neue', sans-serif;
  margin-top: 1rem;
  color: var(--color-accent, #dc2626);
  letter-spacing: 0.5px;
  font-size: 1.4rem;
}

/* Type Selector Title */
.type-selector-title {
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text, #1a2332);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* Form Title */
.form-title {
  font-family: 'Bebas Neue', sans-serif;
  margin-bottom: 1.5rem;
  color: var(--color-text, #1a2332);
  letter-spacing: 0.5px;
}

/* Back Button */
.back-button-wrapper {
  margin-bottom: 1.5rem;
}

.back-button {
  background: var(--color-surface, #ffffff);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--color-border, rgba(30, 41, 59, 0.12));
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text, #1a2332);
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.back-button:hover {
  background: var(--color-accent-2, #2563eb);
  border-color: var(--color-accent-2, #2563eb);
  color: white;
  transform: translateX(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .register-wrapper {
    grid-template-columns: 1fr;
  }

  .register-sidebar {
    padding: 2rem 1.5rem;
  }

  .sidebar-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .sidebar-content {
    text-align: center;
  }

  .register-container {
    padding: 2rem 1.5rem;
  }

  .register-header h1 {
    font-size: 1.5rem;
  }

  .register-header-top {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .home-button {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .type-selector {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .register-page {
    padding: 1rem 0.5rem;
  }

  .register-container {
    padding: 1.5rem 1rem;
  }

  .register-header h1 {
    font-size: 1.5rem;
  }

  .register-header-top {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .home-button {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

.login-link a {
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .register-container {
    padding: 2rem 1.5rem;
  }

  .register-header h1 {
    font-size: 2rem;
  }

  .form-row,
  .type-selector {
    grid-template-columns: 1fr;
  }
}

