/* Reset léger pour éviter les conflits */
* {
  box-sizing: border-box;
}

/* Classes globales réutilisées dans le header */
.gradient-text {
  background: linear-gradient(135deg, #E91E8C 0%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, #E91E8C 0%, #F97316 100%);
}

/* Container du formulaire */
.salon-form-container {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fef7ed;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.salon-form-container .container {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #fed7aa;
  margin-top: 40px;
  width: 100%;
}

.salon-form-container h1 {
  background: linear-gradient(135deg, #fb7185, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
}

.salon-form-container .subtitle {
  color: #78716c;
  text-align: center;
  margin-bottom: 35px;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
}

.salon-form-container input[type="text"] {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #fed7aa;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 25px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

.salon-form-container input[type="text"]:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
  background: white;
}

.salon-form-container button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #fb7185 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.salon-form-container button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fb7185 0%, #f97316 100%);
  transition: left 0.3s ease;
}

.salon-form-container button:hover::before {
  left: 0;
}

.salon-form-container button span {
  position: relative;
  z-index: 1;
}

.salon-form-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.salon-form-container button:disabled {
  background: #d6d3d1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.salon-form-container button:disabled::before {
  display: none;
}

.salon-form-container .message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.salon-form-container .error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  color: #dc2626;
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.salon-form-container .success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
  color: #16a34a;
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.salon-form-container .info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
  color: #2563eb;
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.salon-form-container .warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
  color: #d97706;
  border: 2px solid rgba(245, 158, 11, 0.3);
}
