/* =========================================
   Cholet Services - AUTH (Connexion/Inscription)
========================================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #f4f6f8, #ffffff);
  color: #222;
}

main {
  padding: 20px;
}

.cs-auth-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.cs-auth-title {
  margin: 0 0 18px 0;
  font-size: 24px;
  text-align: center;
}

label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9dde3;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  outline: none;
}

input:focus,
select:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.cs-auth-btn {
  margin-top: 18px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #2c3e50;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

.cs-auth-btn:hover {
  background: #1f2c38;
}

.cs-auth-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  text-decoration: none;
  font-weight: 700;
  color: #2c3e50;
}

.cs-auth-link:hover {
  text-decoration: underline;
}

.cs-auth-error {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #fdeaea;
  border: 1px solid #f5b8b8;
  color: #a11b1b;
}

.cs-auth-success {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #e8f8ee;
  border: 1px solid #bfe8cd;
  color: #1f7a3b;
}
