* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00ff88;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --gray-900: #111111;
    --gray-800: #1a1a1a;
    --gray-700: #2a2a2a;
    --gray-600: #404040;
    --gray-400: #a0a0a0;
    --gray-300: #d0d0d0;
    --white: #ffffff;
    --accent-blue: #0066ff;
    --accent-purple: #8b5cf6;
    --accent-orange: #ff6b35;
    --error-red: #ff4444;
    --Rare-blue: #00B3C4;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}


/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
}

.logo-find {
    color: var(--white);
}

.logo-club {
    color: var(--Rare-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--Rare-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--Rare-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-secondary {
    background: transparent;
    color: var(--gray-300);
    border: 1px solid var(--gray-600);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--gray-800);
    border-color: var(--Rare-blue);
    color: var(--white);
}

/* Sign Up Section */
.signup-section {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 30% 20%, rgba(0, 179, 196, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    min-height: 100vh;
}

.signup-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.signup-header {
    text-align: center;
    margin-bottom: 4rem;
}

.header-badge {
    display: inline-block;
    background: rgba(0, 179, 196, 0.1);
    border: 1px solid rgba(0, 179, 196, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.badge-text {
    color: var(--Rare-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.title-line-1 {
    display: block;
    color: var(--white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.title-line-2 {
    display: block;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 179, 196, 0.5));
}

.signup-subtitle {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Role Selection */
.role-selection {
    margin-bottom: 4rem;
}

.role-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    grid-template-rows: repeat(2, minmax(200px, 1fr));
    gap: 1.5rem;
}

.role-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--Rare-blue), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.role-card:hover::before,
.role-card.active::before {
    transform: scaleX(1);
}

.role-card:hover,
.role-card.active {
    border-color: rgba(0, 179, 196, 0.4);
    background: rgba(0, 179, 196, 0.05);
    transform: translateY(-5px);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(0.3);
}

.role-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.role-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Form */
.signup-form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-section {
    margin-bottom: 3rem;
}

.form-section.hidden {
    display: none;
}

.form-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--gray-300);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: var(--Rare-blue);
    background: rgba(0, 179, 196, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 179, 196, 0.1);
}

/* Select Wrapper and Styling */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 3rem;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--gray-400);
    pointer-events: none;
    transition: border-top-color 0.3s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--Rare-blue);
    background: rgba(0, 179, 196, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 179, 196, 0.1);
}

.select-wrapper select:focus + ::after,
.select-wrapper:hover::after {
    border-top-color: var(--Rare-blue);
}

.select-wrapper select option {
    background: var(--gray-800);
    color: var(--white);
    padding: 0.5rem;
    border: none;
}

.password-requirements {
    margin-top: 0.5rem;
}

.password-requirements small {
    color: var(--gray-400);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-300);
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--Rare-blue);
    border-color: var(--Rare-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--dark-bg);
    font-weight: bold;
    font-size: 12px;
}

.link {
    color: var(--Rare-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    background: linear-gradient(135deg, var(--Rare-blue), #00cc6a);
    color: var(--dark-bg);
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 179, 196, 0.4);
}

.btn-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.signin-link {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .signup-container {
        padding: 0 1rem;
    }
    
    .signup-form-container {
        padding: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .role-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .role-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-form-container {
        padding: 1.5rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ========================================
   PHONE FIELD WITH COUNTRY CODE
======================================== */
.phone-field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.phone-field:focus-within {
  border-color: var(--Rare-blue);
  box-shadow: 0 0 0 3px rgba(0, 179, 196, 0.1);
}

/* Make the flag+code look like part of the input */
.country-display {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 0.5rem;
  padding-right: 0.25rem;
}

.country-display::after {
  content: " ▼";
  font-size: 0.7rem;
  opacity: 0.6;
}

#phone {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}

/* Only the left area (flag+code) is clickable for the dropdown */
#country-select {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--cc-width);   /* will be synced by JS */
  opacity: 0;               /* invisible but clickable */
  cursor: pointer;
}

#country-select option {
  background: var(--gray-800);
  color: var(--white);
}



/* ========================================
  CLUB PHONE FIELD WITH COUNTRY CODE
======================================== */
.contactpersonphone-field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contactpersonphone-field:focus-within {
  border-color: var(--Rare-blue);
  box-shadow: 0 0 0 3px rgba(0, 179, 196, 0.1);
}

/* Make the flag+code look like part of the input */
.club-country-display {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 0.5rem;
  padding-right: 0.25rem;
}

.club-country-display::after {
  content: " ▼";
  font-size: 0.7rem;
  opacity: 0.6;
}

#contactpersonphone {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  font-family: 'Inter', sans-serif;
}

/* Only the left area (flag+code) is clickable for the dropdown */
#club-country-select {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--cc-width);   /* will be synced by JS */
  opacity: 0;               /* invisible but clickable */
  cursor: pointer;
}

#club-country-select option {
  background: var(--gray-800);
  color: var(--white);
}


/* Multi-select styling for Scouting Regions */
.select-wrapper:has(select[multiple])::after { 
  display: none;                /* hide the dropdown caret for multi-selects */
}

.select-wrapper select[multiple] {
  min-height: 8rem;             /* give it some height */
  padding-right: 1rem;          /* less right padding since no caret */
  cursor: default;              /* not a clickable dropdown */
  overflow-y: auto;             /* show a scrollbar when needed */
}

.select-wrapper select[multiple] option:checked {
  background: var(--Rare-blue);
  color: var(--dark-bg);
}

/* helper text under field */
.help-hint {
  display: block;
  margin-top: 0.5rem;
  color: var(--gray-400);
  font-size: 0.85rem;
}
</style>