.login-body {
    font-family: 'Inter', sans-serif;
  /*  background: linear-gradient(135deg, 
        rgba(255, 22, 66, 0.15), 
        rgba(255, 84, 7, 0.15), 
        rgba(255, 90, 1, 0.15), 
        rgba(255, 7, 80, 0.15)); */
    background-color: #2c3550; /* #ffffff; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-card {
    background: var(--card-bg);
    border: none;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(255, 22, 66, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo h1 {
    margin-top: 24px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group {
    margin-bottom: 24px;
}

.password-wrapper {
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.2s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.form-input:focus {
    border-color: #ff1642;
    box-shadow: 0 0 0 3px rgba(255, 22, 66, 0.2);
}

.btn-login {
    margin-top: 24px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ff1642, #ff5407);
    border: none;
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #ff0750, #ff5a01);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 22, 66, 0.3);
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    text-align: center;
}

.toggle-password {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toggle-password:hover {
    background: linear-gradient(135deg, #ff1642, #ff5407);
    border-color: #ff1642;
    color: white;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner.show {
    display: inline-block;
    color: green;
}

/* Bouton Google */ 

.btn-google{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;

  background: #fff;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-google:hover{
  background: #f7f7f7;
}

.google-icon{
  font-weight: 800;    
  font-size: 1.1rem;
  line-height: 1;
}

.separator{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.separator::before,
.separator::after{
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

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