/* File: static/css/accounts/register_stylist.css */

/* ==================================================
   STYLIST REGISTRATION PAGE STYLES
   ================================================== */

.register-stylist-page {
  background: linear-gradient(135deg, var(--linen-white) 0%, rgba(230, 183, 193, 0.08) 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.register-stylist-container {
  min-height: calc(100vh - var(--header-height));
  padding: 2rem 0;
  position: relative;
}

/* ==================================================
   REGISTRATION CARD
   ================================================== */

.register-stylist-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(230, 183, 193, 0.1);
  margin-bottom: 3rem;
}

.register-header {
  text-align: center;
  margin-bottom: 2rem;
}

.register-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));  
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2.25rem;
  box-shadow: var(--shadow-lg);
  animation: iconGlow 3s ease-in-out infinite alternate;
  position: relative;
}

.register-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  border-radius: var(--radius-full);
  opacity: 0.3;
  z-index: -1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes iconGlow {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.08) rotate(5deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.1; }
}

.register-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--charcoal-plum);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.register-subtitle {
  color: var(--soft-mauve);
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================================================
   BENEFITS PREVIEW
   ================================================== */

.benefits-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(230, 183, 193, 0.1), rgba(161, 141, 163, 0.05));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(230, 183, 193, 0.2);
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--charcoal-plum);
  font-weight: 600;
  font-size: 0.9rem;
}

.benefit-item i {
  color: var(--rose-quartz);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.benefit-item:hover i {
  transform: scale(1.1);
  color: var(--soft-mauve);
}

/* ==================================================
   PROGRESS INDICATOR
   ================================================== */

.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  position: relative;
}

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

.step-number {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(161, 141, 163, 0.2);
  color: var(--soft-mauve);
  border: 3px solid rgba(161, 141, 163, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-normal);
  margin-bottom: 0.75rem;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  color: white;
  border-color: var(--rose-quartz);
  transform: scale(1.15);
  box-shadow: var(--shadow-md);
}

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

.progress-step.completed .step-number::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft-mauve);
  text-align: center;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: var(--charcoal-plum);
  font-weight: 700;
}

.progress-line {
  flex: 1;
  height: 3px;
  background: rgba(161, 141, 163, 0.2);
  margin: 0 1rem;
  border-radius: var(--radius-sm);
  position: relative;
  max-width: 80px;
}

.progress-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  border-radius: var(--radius-sm);
  transition: width var(--transition-slow);
}

.progress-line.completed::after {
  width: 100%;
}

/* ==================================================
   FORM STEPS
   ================================================== */

.register-stylist-form {
  position: relative;
  min-height: 600px;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--transition-normal);
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.form-step.prev {
  transform: translateX(-50px);
}

.step-content {
  margin-bottom: 3rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(230, 183, 193, 0.2);
}

.step-title i {
  color: var(--rose-quartz);
}

.step-description {
  color: var(--soft-mauve);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ==================================================
   FORM ELEMENTS
   ================================================== */

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

.form-label {
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.required {
  color: var(--error-color);
  margin-left: 0.25rem;
}

.input-wrapper {
  position: relative;
}

.form-control, .form-select {
  border: 2px solid rgba(161, 141, 163, 0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: rgba(250, 244, 240, 0.5);
}

.form-control:focus, .form-select:focus {
  border-color: var(--rose-quartz);
  box-shadow: 0 0 0 0.2rem rgba(230, 183, 193, 0.25);
  background: white;
  outline: none;
}

.form-text {
  font-size: 0.875rem;
  color: var(--soft-mauve);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ==================================================
   SPECIALTIES GRID
   ================================================== */

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

.specialty-item {
  background: rgba(250, 244, 240, 0.5);
  border: 2px solid rgba(161, 141, 163, 0.1);
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  overflow: hidden;
}

.specialty-item:hover {
  border-color: var(--rose-quartz);
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.specialty-checkbox {
  position: relative;
}

.specialty-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}

.specialty-label {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 1rem;
}

.specialty-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.specialty-text {
  flex: 1;
}

.specialty-text strong {
  display: block;
  color: var(--charcoal-plum);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.specialty-text small {
  color: var(--soft-mauve);
  font-size: 0.85rem;
  line-height: 1.3;
}

.specialty-checkbox input:checked + .specialty-label {
  background: linear-gradient(135deg, rgba(230, 183, 193, 0.1), rgba(161, 141, 163, 0.05));
}

.specialty-checkbox input:checked + .specialty-label .specialty-icon {
  background: var(--success-color);
  transform: scale(1.1);
}

.specialty-checkbox input:checked + .specialty-label .specialty-icon::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
}

/* ==================================================
   CHECKBOXES AND FORM CHECKS
   ================================================== */

.form-check-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(250, 244, 240, 0.8);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(161, 141, 163, 0.1);
  transition: var(--transition-fast);
}

.form-check-wrapper:hover {
  background: rgba(230, 183, 193, 0.1);
  border-color: var(--rose-quartz);
}

.form-check-input {
  margin: 0;
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
}

.form-check-input:checked {
  background-color: var(--rose-quartz);
  border-color: var(--rose-quartz);
}

.form-check-label {
  flex: 1;
  font-size: 1rem;
  color: var(--charcoal-plum);
  line-height: 1.5;
  cursor: pointer;
}

.license-wrapper {
  border: 2px solid var(--champagne-gold);
  background: rgba(244, 214, 160, 0.1);
}

.terms-wrapper {
  border: 2px solid var(--info-color);
  background: rgba(168, 200, 225, 0.1);
}

.terms-link {
  color: var(--soft-mauve);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.terms-link:hover {
  color: var(--charcoal-plum);
  text-decoration: underline;
}

/* ==================================================
   PASSWORD STRENGTH
   ================================================== */

.password-strength {
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(250, 244, 240, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(161, 141, 163, 0.1);
}

.strength-bar {
  width: 100%;
  height: 8px;
  background: rgba(161, 141, 163, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.strength-fill {
  height: 100%;
  width: 0%;
  background: var(--error-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.strength-fill.weak { width: 25%; background: var(--error-color); }
.strength-fill.fair { width: 50%; background: var(--warning-color); }
.strength-fill.good { width: 75%; background: var(--info-color); }
.strength-fill.strong { width: 100%; background: var(--success-color); }

.strength-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 0.75rem;
}

.strength-requirements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.requirement {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--soft-mauve);
  transition: var(--transition-fast);
}

.requirement i {
  margin-right: 0.5rem;
  width: 14px;
  color: var(--error-color);
}

.requirement.met {
  color: var(--success-color);
}

.requirement.met i {
  color: var(--success-color);
}

.requirement.met i::before {
  content: '\f00c';
}

/* ==================================================
   REGISTRATION SUMMARY
   ================================================== */

.registration-summary {
  background: linear-gradient(135deg, rgba(230, 183, 193, 0.1), rgba(161, 141, 163, 0.05));
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(230, 183, 193, 0.2);
  margin-bottom: 2rem;
}

.registration-summary h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 1.5rem;
  text-align: center;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.summary-section {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(161, 141, 163, 0.1);
}

.summary-section h5 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(161, 141, 163, 0.1);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(161, 141, 163, 0.05);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-label {
  font-weight: 600;
  color: var(--soft-mauve);
  font-size: 0.9rem;
}

.summary-value {
  color: var(--charcoal-plum);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  word-wrap: break-word;
}

/* ==================================================
   STYLIST AGREEMENT
   ================================================== */

.stylist-agreement {
  background: rgba(168, 200, 225, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--info-color);
  margin-top: 1.5rem;
}

.stylist-agreement h5 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 1rem;
}

.agreement-content p {
  color: var(--charcoal-plum);
  margin-bottom: 1rem;
}

.agreement-content ul {
  color: var(--soft-mauve);
  padding-left: 1.5rem;
}

.agreement-content li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* ==================================================
   STEP ACTIONS
   ================================================== */

.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(161, 141, 163, 0.1);
}

.btn-next,
.btn-prev,
.btn-submit {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  font-size: 1rem;
}

.btn-next,
.btn-submit {
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  border: none;
  color: white;
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--rose-quartz-dark), var(--soft-mauve-dark));
}

.btn-prev {
  background: transparent;
  border: 2px solid var(--soft-mauve);
  color: var(--soft-mauve);
}

.btn-prev:hover {
  background: var(--soft-mauve);
  color: white;
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* ==================================================
   WHY JOIN SECTION
   ================================================== */

.why-join-section {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(230, 183, 193, 0.1);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(250, 244, 240, 0.5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(161, 141, 163, 0.1);
  transition: var(--transition-normal);
}

.feature-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal-plum);
  margin-bottom: 1rem;
}

.feature-item p {
  color: var(--soft-mauve);
  line-height: 1.6;
  margin: 0;
}

/* ==================================================
   REGISTER FOOTER
   ================================================== */

.register-footer {
  text-align: center;
  border-top: 1px solid rgba(161, 141, 163, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.login-prompt {
  color: var(--charcoal-plum);
  margin-bottom: 1rem;
}

.login-link {
  color: var(--soft-mauve);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.login-link:hover {
  color: var(--charcoal-plum);
  text-decoration: underline;
}

.client-link {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(161, 141, 163, 0.1);
}

.client-link p {
  margin: 0;
  font-size: 0.9rem;
}

/* ==================================================
   BACKGROUND ELEMENTS
   ================================================== */

.bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-quartz), var(--soft-mauve));
  opacity: 0.06;
  animation: float 10s ease-in-out infinite;
}

.bg-shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.bg-shape-2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

.bg-shape-3 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 20%;
  animation-delay: 4s;
}

.bg-shape-4 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 5%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(90deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
  75% {
    transform: translateY(-40px) rotate(270deg);
  }
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .register-stylist-container {
    padding: 1.5rem 0;
  }
  
  .register-stylist-card,
  .why-join-section {
    padding: 2.5rem 2rem;
  }
  
  .benefits-preview {
    flex-direction: column;
    gap: 1rem;
  }
  
  .progress-indicator {
    margin-bottom: 2rem;
  }
  
  .progress-line {
    max-width: 60px;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .register-stylist-card,
  .why-join-section {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .register-title {
    font-size: 2rem;
  }
  
  .register-subtitle {
    font-size: 1.1rem;
  }
  
  .register-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }
  
  .progress-indicator {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .progress-step {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  
  .progress-line {
    display: none;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .step-description {
    font-size: 1rem;
  }
  
  .step-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  
  .btn-next,
  .btn-prev,
  .btn-submit {
    width: 100%;
    min-width: auto;
  }
  
  .strength-requirements {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .register-stylist-card,
  .why-join-section {
    padding: 1.5rem 1rem;
  }
  
  .register-title {
    font-size: 1.75rem;
  }
  
  .register-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .form-control,
  .form-select {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  .progress-step {
    gap: 0.5rem;
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .step-label {
    font-size: 0.8rem;
  }
  
  .specialty-label {
    padding: 1rem;
  }
  
  .specialty-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .specialty-text strong {
    font-size: 0.9rem;
  }
  
  .specialty-text small {
    font-size: 0.8rem;
  }
  
  .summary-section {
    padding: 1rem;
  }
  
  .registration-summary {
    padding: 1.5rem;
  }
  
  .stylist-agreement {
    padding: 1rem;
  }
}

/* ==================================================
   ACCESSIBILITY ENHANCEMENTS
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  .register-icon,
  .bg-shape,
  .feature-item {
    animation: none;
  }
  
  .btn-next:hover,
  .btn-submit:hover,
  .specialty-item:hover {
    transform: none;
  }
}

/* Focus styles for better accessibility */
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus,
.specialty-checkbox input:focus + .specialty-label {
  outline: 2px solid var(--rose-quartz);
  outline-offset: 2px;
}

.specialty-checkbox input:focus + .specialty-label {
  background: rgba(230, 183, 193, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .register-stylist-card,
  .why-join-section {
    border: 2px solid var(--charcoal-plum);
  }
  
  .form-control,
  .form-select,
  .specialty-item,
  .form-check-wrapper {
    border-width: 2px;
  }
  
  .specialty-checkbox input:checked + .specialty-label {
    background: var(--charcoal-plum);
    color: white;
  }
}

/* Print styles */
@media print {
  .step-actions,
  .bg-elements,
  .register-footer {
    display: none;
  }
  
  .register-stylist-card,
  .why-join-section {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .form-step {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    page-break-inside: avoid;
  }
  
  .progress-indicator {
    display: none;
  }
}

/* ==================================================
   LOADING AND ANIMATION STATES
   ================================================== */

.btn-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Availability check icons (similar to register.css) */
.email-check-icon,
.username-check-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.email-check-icon.checking,
.username-check-icon.checking {
  display: flex;
}

.email-check-icon.checking::after,
.username-check-icon.checking::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--soft-mauve);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.email-check-icon.available,
.username-check-icon.available {
  display: flex;
  color: var(--success-color);
}

.email-check-icon.available::after,
.username-check-icon.available::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.email-check-icon.unavailable,
.username-check-icon.unavailable {
  display: flex;
  color: var(--error-color);
}

.email-check-icon.unavailable::after,
.username-check-icon.unavailable::after {
  content: '\f00d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

/* Password toggle */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--soft-mauve);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  z-index: 3;
}

.password-toggle:hover {
  color: var(--charcoal-plum);
  background: rgba(161, 141, 163, 0.1);
}

/* Input feedback */
.input-feedback {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
}

.input-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

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

.input-feedback.error {
  color: var(--error-color);
}

.input-feedback.warning {
  color: var(--warning-color);
}

/* Form validation states */
.form-control.is-valid {
  border-color: var(--success-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23B5D6A7' d='m2.3 6.73.6-.6L4.4 7.64l2.83-2.83.6.6-3.43 3.43z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-invalid {
  border-color: var(--error-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23E7A1A1'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 2.4 2.4m0-2.4-2.4 2.4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

/* Success animations */
.form-step.completed {
  animation: slideInComplete 0.5s ease-out;
}

@keyframes slideInComplete {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Error shake animation */
.form-group.error {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}