/* Registration Page Styles */
.registration-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
  display: flex;
  flex-direction: column;
}

/* Header */
.registration-header {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.registration-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  text-decoration: none;
  color: #DC192C;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo:hover {
  color: #B8152A;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Main Content */
.registration-main {
  padding: 2rem 0;
  flex: 1;
}

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

.registration-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Progress Bar */
.progress-bar {
  padding: 2rem;
  border-bottom: 1px solid #E2E8F0;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(50% + 15px);
  right: calc(-50% + 15px);
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

.progress-step.completed:not(:last-child)::after {
  background: #DC192C;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #718096;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.progress-step.active .step-number {
  background: #DC192C;
  color: white;
}

.progress-step.completed .step-number {
  background: #DC192C;
  color: white;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #718096;
  text-align: center;
}

.progress-step.active .step-label {
  color: #DC192C;
  font-weight: 600;
}

.progress-step.completed .step-label {
  color: #DC192C;
}

.progress-line {
  height: 2px;
  background: #E2E8F0;
  border-radius: 1px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #DC192C;
  transition: width 0.3s ease;
}

/* Form */
.registration-form {
  padding: 2rem;
}

.step-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1A202C;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #718096;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Form Elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #1A202C;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #E2E8F0;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #DC192C;
  box-shadow: 0 0 0 3px rgba(220, 25, 44, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: #E53E3E;
}

.error-message {
  color: #E53E3E;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

/* Checkboxes */
.legal-checkboxes {
  margin: 2rem 0;
}

.checkbox-group {
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #E2E8F0;
  border-radius: 4px;
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #DC192C;
  border-color: #DC192C;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label input[type="checkbox"].error + .checkmark {
  border-color: #E53E3E;
}

.checkbox-label a {
  color: #DC192C;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Security Notice */
.security-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #F7FAFC;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 4px solid #DC192C;
}

.security-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.security-notice h4 {
  margin: 0 0 0.25rem 0;
  color: #1A202C;
  font-size: 1rem;
}

.security-notice p {
  margin: 0;
  color: #718096;
  font-size: 0.9rem;
}

/* Compliance Notice */
.compliance-notice {
  background: #F7FAFC;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  border: 1px solid #E2E8F0;
}

.compliance-notice h4 {
  margin: 0 0 1rem 0;
  color: #1A202C;
  font-size: 1.1rem;
}

.compliance-notice ul {
  margin: 0;
  padding-left: 1.5rem;
  color: #718096;
}

.compliance-notice li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Navigation Buttons */
.form-navigation {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-spacer {
  flex: 1;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
}

.btn-primary {
  background: #DC192C;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #B8152A;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #A0AEC0;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: #DC192C;
  border: 2px solid #DC192C;
}

.btn-secondary:hover {
  background: #DC192C;
  color: white;
}

.btn-outline {
  background: transparent;
  color: #718096;
  border: 2px solid #E2E8F0;
}

.btn-outline:hover {
  border-color: #DC192C;
  color: #DC192C;
}

/* Footer */
.registration-footer {
  background: #2D3748;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #A0AEC0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #A0AEC0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4A5568;
  padding-top: 1rem;
  text-align: center;
  color: #A0AEC0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .header-actions {
    justify-content: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .progress-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .progress-step:not(:last-child)::after {
    display: none;
  }
  
  .nav-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-spacer {
    display: none;
  }
  
  .registration-form {
    padding: 1rem;
  }
  
  .step-content h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .progress-bar {
    padding: 1rem;
  }
  
  .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
  
  .step-label {
    font-size: 0.7rem;
  }
  
  .security-notice {
    flex-direction: column;
    text-align: center;
  }
  
  .compliance-notice {
    padding: 1rem;
  }
}
