.clickstaff-register-form,
.clickstaff-login-form,
.clickstaff-register-form *,
.clickstaff-login-form * {
  box-sizing: border-box;
}

.clickstaff-register-form,
.clickstaff-login-form {
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1A1612;
}

.cs-role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.cs-role {
  position: relative;
  display: block;
  cursor: pointer;
}

.cs-role input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cs-role-box {
  border: 1px solid #e7ddd4;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  transition: .18s ease;
  display: block;
  min-height: 96px;
}

.cs-role-title {
  display: block;
  font-weight: 800;
  color: #1A1612;
  margin-bottom: 5px;
}

.cs-role-desc {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #7a7069;
}

.cs-role input:checked + .cs-role-box {
  border-color: #C8472E;
  background: #fff6f1;
  box-shadow: 0 0 0 3px rgba(198, 90, 61, .11);
}

.cs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cs-field {
  margin-bottom: 14px;
}

.cs-field label {
  display: block;
  margin: 0 0 7px;
  color: #1A1612;
  font-size: 13px;
  font-weight: 800;
}

.cs-field input {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid #e2d7ce;
  background: #fff;
  padding: 0 15px;
  outline: none;
  color: #1A1612;
  font-size: 15px;
  transition: .18s ease;
}

.cs-field input:focus {
  border-color: #C8472E;
  box-shadow: 0 0 0 3px rgba(198, 90, 61, .12);
}

.cs-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 20px;
  color: #4A423A;
  font-size: 13px;
  line-height: 1.45;
}

.cs-check input {
  margin-top: 3px;
  accent-color: #C8472E;
}

.cs-btn {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: #C8472E;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
  box-shadow: 0 14px 28px rgba(198, 90, 61, .22);
}

.cs-btn:hover {
  background: #8B2419;
  transform: translateY(-1px);
}

.cs-btn-dark {
  background: #1A1612;
  box-shadow: 0 14px 28px rgba(30, 36, 48, .16);
}

.cs-btn-dark:hover {
  background: #111722;
}

.cs-bottom-link {
  margin-top: 18px;
  text-align: center;
  color: #4A423A;
  font-size: 14px;
}

.cs-bottom-link a,
.cs-check a,
.cs-forgot a {
  color: #C8472E;
  text-decoration: none;
  font-weight: 800;
}

.cs-forgot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 22px;
  font-size: 13px;
}

.cs-auth-alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
}

.cs-auth-alert-error {
  background: #fff1ee;
  color: #b33c24;
  border: 1px solid #f0c7bd;
}

.cs-auth-alert-success {
  background: #edf8ef;
  color: #1f7a3f;
  border: 1px solid #c7edcf;
}

@media (max-width: 640px) {
  .cs-role-grid,
  .cs-form-row {
    grid-template-columns: 1fr;
  }
}

/* Cohérence responsive Click&Staff */
.clickstaff-login-form input,.clickstaff-register-form input{min-height:50px}
@media(max-width:640px){.clickstaff-login-form .cs-forgot{align-items:flex-start;flex-wrap:wrap}.clickstaff-login-form .cs-btn,.clickstaff-register-form .cs-btn{min-height:48px}}
