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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rgb-border-box {
    0% { 
        box-shadow: 
            0 0 40px rgba(255, 0, 0, 0.4),
            inset 0 0 20px rgba(255, 0, 0, 0.3);
    }
    25% { 
        box-shadow: 
            0 0 40px rgba(0, 255, 0, 0.4),
            inset 0 0 20px rgba(0, 255, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 40px rgba(0, 0, 255, 0.4),
            inset 0 0 20px rgba(0, 0, 255, 0.3);
    }
    75% { 
        box-shadow: 
            0 0 40px rgba(255, 0, 255, 0.4),
            inset 0 0 20px rgba(255, 0, 255, 0.3);
    }
    100% { 
        box-shadow: 
            0 0 40px rgba(255, 0, 0, 0.4),
            inset 0 0 20px rgba(255, 0, 0, 0.3);
    }
}

.login-page {
    width: 85%;
    max-width: 1200px;
    height: 57vh;
    min-height: 200px;
    margin: 100px auto 15px auto;
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
    animation: fadeIn 0.8s ease-out, rgb-border-box 4s infinite linear;
    position: relative;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff00ff);
    z-index: -1;
    animation: rotate 4s infinite linear;
}

@keyframes rotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.login-left {
    flex: 0.9;
    background-color: #fff;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    position: relative;
    animation: slideIn 1s ease-out;
}

.login-left h1 {
    color: #a78bfa;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
}

.login-left h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #a78bfa;
    border-radius: 2px;
}

.login-left-input {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-left-input label {
    text-align: start;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-left: 5px;
}

.login-left-input input[type="text"] {
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    background-color: #f3f4f6;
    font-size: 14px;
    transition: all 0.3s ease;
}

.login-left-input input[type="text"].error {
    border-color: #ef4444;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.login-left-input input[type="text"].error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.email-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 5px;
    display: none;
}

.email-error.show {
    display: block;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.login-left-input input:focus {
    outline: none;
    border-color: #a78bfa;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.1);
}

/* Styles pour les états de succès */
.login-left-input input.success {
    border-color: #10b981;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.login-left-input input.success:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.login-left-input input::placeholder {
    color: #9ca3af;
}

hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
    position: relative;
    width: 100%;
}

hr::before {
    content: 'ou';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 0 15px;
    color: #6b7280;
    font-size: 14px;
}

.login-assets {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 12px 0;
}

.login-assets img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-assets img[src*="left-arrow"],
.login-assets img[src*="right-arrow"] {
    width: 15px;
    height: 15px;
}

.login-assets img:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.login-checkbox {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-checkbox .a,
.login-checkbox .b {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.login-checkbox .a:hover,
.login-checkbox .b:hover {
    background-color: #f8fafc;
}

.login-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #7c3aed;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.login-checkbox input[type="checkbox"]:checked {
    background-color: #7c3aed;
    border-color: #7c3aed;
}

.login-checkbox label {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.4;
    cursor: pointer;
}

.login-checkbox label span {
    color: #7c3aed;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login-checkbox label span:hover {
    color: #6d28d9;
}

button {
    background-color: #a78bfa;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 110px;
    align-self: center;
    margin-top: 8px;
}

button:hover {
    background-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

button:active {
    transform: translateY(0);
}

.login-right {
    flex: 1.1;
    background: url("boutique.png") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(167, 139, 250, 0.1), rgba(139, 92, 246, 0.2));
}

.login-right-box {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 20px;
    width: 320px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-right-box-info h1 {
    font-size: 22px;
    font-weight: bold;
    color: #4f2eff;
    margin-bottom: 10px;
}

.login-right-box-info p {
    font-size: 13px;
    line-height: 1.4;
    color: #4b5563;
    padding: 0 10px;
}

.EmailInput {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.EmailInput label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.EmailInput input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.EmailInput input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background-color: #ffffff;
}

.passwordInput {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.passwordInput label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.passwordInput input {
    width: 100%;
    padding: 16px;
    padding-right: 45px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #2d3748;
    background-color: #fff;
    transition: all 0.3s ease;
}

.passwordInput input:focus {
    outline: none;
    border-color: #6c47ff;
    box-shadow: 0 0 0 2px rgba(108, 71, 255, 0.1);
}

.passwordInput input::placeholder {
    color: #9ca3af;
}

.eye, .hide {
    position: absolute;
    right: 16px;
    top: 42px; /* Position fixe par rapport au haut du conteneur */
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    width: 18px;
    height: 18px;
}

.eye:hover, .hide:hover {
    opacity: 1;
}

.ErreurMessage {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 4px;
    animation: shake 0.5s ease-in-out;
    text-align: start;
    margin-left: 0;
    display: block;
    width: 100%;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.signup-link p{
    cursor: pointer;
}

/* ===== STYLES MODERNES POUR LOGIN/SIGNUP ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  overflow: hidden;
}

/* Background animé */
.auth-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

.shape-5 {
  width: 140px;
  height: 140px;
  top: 70%;
  left: 60%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Container principal */
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Section formulaire */
.auth-form-section {
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.auth-form-container {
  width: 100%;
  max-width: 400px;
}

/* Header */
.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.logo-icon {
  font-size: 2.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.auth-logo h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.auth-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

/* Formulaire */
.auth-form {
  width: 100%;
}

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

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.label-icon {
  font-size: 1.1rem;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.password-input-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.password-toggle:hover {
  background: #f3f4f6;
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 5px;
  animation: shake 0.5s ease-in-out;
}

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

/* Options du formulaire */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #6b7280;
}

.checkbox-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #667eea;
  cursor: pointer;
}

.forgot-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Cases à cocher Sign Up */
.signup-checkboxes {
  margin-bottom: 25px;
}

.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-group.error .checkbox-container {
  color: #ef4444;
}

.link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.link:hover {
  text-decoration: underline;
}

/* Bouton de soumission */
.auth-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 18px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-icon {
  font-size: 1.2rem;
}

/* Divider */
.divider {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.divider span {
  background: white;
  padding: 0 20px;
  color: #6b7280;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Boutons sociaux */
.social-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-btn:hover {
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn img {
  width: 20px;
  height: 20px;
}

.google-btn:hover {
  border-color: #db4437;
  color: #db4437;
}

.facebook-btn:hover {
  border-color: #4267B2;
  color: #4267B2;
}

.github-btn:hover {
  border-color: #333;
  color: #333;
}

/* Lien de basculement */
.auth-switch {
  text-align: center;
}

.auth-switch p {
  color: #6b7280;
  margin: 0;
}

.switch-link {
  background: none;
  border: none;
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.switch-link:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Section informations */
.auth-info-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.auth-info-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.info-card {
  max-width: 400px;
}

.info-icon {
  font-size: 4rem;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
}

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

.info-card h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.info-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
}

.features-list {
  display: grid;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  font-weight: 500;
}

.feature-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MEDIA QUERIES POUR TOUS LES ÉCRANS ===== */

/* Grands écrans (1400px et plus) */
@media screen and (min-width: 1400px) {
  .auth-container {
    max-width: 1400px;
  }
  
  .auth-form-section,
  .auth-info-section {
    padding: 80px 60px;
  }
  
  .auth-form-container {
    max-width: 450px;
  }
  
  .info-card {
    max-width: 500px;
  }
}

/* Tablettes (768px et moins) */
@media screen and (max-width: 768px) {
  .auth-page {
    padding: 15px;
  }
  
  .auth-container {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .auth-form-section {
    padding: 40px 30px;
    order: 2;
  }
  
  .auth-info-section {
    padding: 40px 30px;
    order: 1;
  }
  
  .auth-logo h1 {
    font-size: 2rem;
  }
  
  .logo-icon {
    font-size: 2rem;
  }
  
  .auth-subtitle {
    font-size: 1rem;
  }
  
  .form-input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .auth-submit-btn {
    padding: 15px 25px;
    font-size: 1rem;
  }
  
  .social-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .social-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  
  .info-card h2 {
    font-size: 2rem;
  }
  
  .info-card p {
    font-size: 1rem;
  }
  
  .feature-item {
    font-size: 0.9rem;
  }
  
  .feature-icon {
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
  }
}

/* Téléphones portables (480px et moins) */
@media screen and (max-width: 480px) {
  .auth-page {
    padding: 10px;
  }
  
  .auth-container {
    border-radius: 15px;
  }
  
  .auth-form-section,
  .auth-info-section {
    padding: 30px 20px;
  }
  
  .auth-logo {
    flex-direction: column;
    gap: 10px;
  }
  
  .auth-logo h1 {
    font-size: 1.8rem;
  }
  
  .logo-icon {
    font-size: 1.8rem;
  }
  
  .auth-subtitle {
    font-size: 0.9rem;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
  
  .form-input {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  
  .password-toggle {
    right: 12px;
    font-size: 1rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .checkbox-container {
    font-size: 0.85rem;
  }
  
  .auth-submit-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  
  .divider span {
    font-size: 0.8rem;
    padding: 0 15px;
  }
  
  .social-btn {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .social-btn img {
    width: 18px;
    height: 18px;
  }
  
  .auth-switch p {
    font-size: 0.9rem;
  }
  
  .info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .info-card p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  
  .features-list {
    gap: 15px;
  }
  
  .feature-item {
    font-size: 0.85rem;
    gap: 12px;
  }
  
  .feature-icon {
    font-size: 1.1rem;
    width: 30px;
    height: 30px;
  }
}

/* Très petits écrans (320px et moins) */
@media screen and (max-width: 320px) {
  .auth-page {
    padding: 5px;
  }
  
  .auth-container {
    border-radius: 10px;
  }
  
  .auth-form-section,
  .auth-info-section {
    padding: 20px 15px;
  }
  
  .auth-logo h1 {
    font-size: 1.6rem;
  }
  
  .logo-icon {
    font-size: 1.6rem;
  }
  
  .auth-subtitle {
    font-size: 0.85rem;
  }
  
  .form-input {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .auth-submit-btn {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
  
  .social-btn {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
  
  .social-btn img {
    width: 16px;
    height: 16px;
  }
  
  .info-card h2 {
    font-size: 1.6rem;
  }
  
  .info-card p {
    font-size: 0.85rem;
  }
  
  .feature-item {
    font-size: 0.8rem;
  }
  
  .feature-icon {
    font-size: 1rem;
    width: 28px;
    height: 28px;
  }
}

/* Mode paysage sur mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
  .auth-page {
    padding: 10px;
  }
  
  .auth-container {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .auth-form-section,
  .auth-info-section {
    padding: 20px 30px;
  }
  
  .auth-header {
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .auth-submit-btn {
    margin-bottom: 20px;
  }
  
  .social-buttons {
    margin-bottom: 20px;
  }
}

/* Mode sombre (si supporté) */
@media (prefers-color-scheme: dark) {
  .auth-form-section {
    background: #1f2937;
    color: white;
  }
  
  .form-input {
    background: #374151;
    border-color: #4b5563;
    color: white;
  }
  
  .form-input:focus {
    background: #4b5563;
  }
  
  .form-label {
    color: #f9fafb;
  }
  
  .checkbox-container {
    color: #d1d5db;
  }
  
  .social-btn {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
  }
  
  .divider span {
    background: #1f2937;
    color: #9ca3af;
  }
}