/* register.css - Professional SaaS Registration Styles */

.container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

@media(min-width: 800px) {
  .container {
    flex-direction: row;
    align-items: flex-start;
  }
}

.form-section {
  flex: 1.2;
  padding: 3rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border-radius: 16px;
}

.info-section {
  flex: 1;
  padding: 3rem;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border-radius: 16px;
}

.form-section h2 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: left;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.info-section h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.info-section h3:first-child {
  margin-top: 0;
}

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

.info-section li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
  color: #475569;
}

.info-section li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.input-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #334155;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  padding-right: 2.5rem;
}

.status-icon {
  position: absolute;
  right: 12px;
  font-size: 1.1rem;
}

.register-btn {
  width: 100%;
  margin-top: 2rem;
  padding: 0.9rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
}

/* Radio buttons for course type */
.course-type-group {
  margin-top: 1rem;
}

.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-btn {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex: 1;
}

.radio-btn input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-custom {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  transition: all var(--transition-fast);
  color: #64748b;
  font-weight: 600;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.radio-btn input:checked~.radio-custom {
  background: #eff6ff;
  /* Very light blue */
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
  font-weight: 600;
}

.radio-btn:hover .radio-custom {
  background: #f8fafc;
}

.radio-btn input:checked:hover~.radio-custom {
  background: #e0f2fe;
}

.hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
  }
  
  .form-section, .info-section {
    padding: 1.5rem;
  }
  
  .container {
    margin: 2rem auto;
  }
}