/* static/css/login.css */

/* Reset simple pour la cohérence */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    font-size: 16px; /* Base pour les unités rem */
  }
  
  body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Utiliser min-height pour flexibilité */
    background-color: #f8f9fa; /* Fond légèrement texturé, très clair */
    color: #333;
    line-height: 1.6;
    /* Optionnel: un dégradé subtil pour un look plus premium */
    /* background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%); */
  }
  
  .login-container {
    background: #ffffff;
    padding: 3rem 4rem; /* Espacement interne généreux */
    border-radius: 16px; /* Coins plus arrondis pour la douceur */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Ombre plus douce et diffuse */
    text-align: center;
    max-width: 420px; /* Limite la largeur sur les grands écrans */
    width: 90%; /* Adapté aux petits écrans */
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  }
  
  /* Optionnel: Effet au survol du conteneur */
  /* .login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  } */
  
  /* Optionnel: Placeholder pour un logo d'application */
  .app-logo {
      width: 50px;
      height: 50px;
      background-color: #e0e0e0; /* Couleur de placeholder */
      border-radius: 50%;
      margin: 0 auto 1.5rem auto; /* Centré avec espace en dessous */
      /* Décommentez et adaptez si vous avez un vrai logo */
      /* background-image: url({{ url_for('static', filename='images/logo.svg') }}); */
      /* background-size: contain; */
      /* background-repeat: no-repeat; */
      /* background-position: center; */
  }
  
  .login-container h1 {
    font-size:24px;
    font-weight: 500; /* Poids medium */
    color: #202124; /* Couleur de texte Google */
    margin-bottom: 0.75rem; /* Espace réduit sous le titre */
  }
  
  .login-container .description {
    font-size: 0.95rem;
    color: #5f6368; /* Gris Google secondaire */
    margin-bottom: 2.5rem; /* Espace important avant le bouton */
    max-width: 300px; /* Limite la largeur du texte */
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Style du bouton Google Login */
  .google-login-btn {
    display: inline-flex; /* Permet d'aligner icône et texte */
    align-items: center;
    justify-content: center; /* Centre le contenu (icône + texte) */
    gap: 12px; /* Espace entre l'icône et le texte */
  
    background-color: #ffffff; /* Fond blanc standard Google */
    color: #3c4043; /* Texte gris foncé Google */
    border: 1px solid #dadce0; /* Bordure grise claire Google */
    padding: 12px 24px;
    border-radius: 8px; /* Rayon standard pour boutons */
    font-size: 1rem;
    font-weight: 500; /* Poids medium pour le texte du bouton */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    width: 100%; /* Prend toute la largeur disponible dans le container */
    max-width: 320px; /* Limite la largeur max du bouton */
    margin: 0 auto; /* Centre le bouton s'il a une max-width */
    text-decoration: none; /* Au cas où vous utiliseriez un <a> */
  }
  
  .google-login-btn:hover {
    background-color: #f8f9fa; /* Léger gris au survol */
    border-color: #c6cace;
  }
  
  .google-login-btn:focus {
    outline: none; /* Supprime l'outline par défaut */
    /* Ajoute un halo de focus pour l'accessibilité */
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3); /* Halo bleu subtil */
  }
  
  .google-login-btn:active {
      background-color: #f1f3f4; /* Gris un peu plus foncé au clic */
  }
  
  .google-icon {
    width: 18px; /* Taille standard de l'icône Google */
    height: 18px;
  }
  
  /* Responsive: Ajustements pour petits écrans */
  @media (max-width: 480px) {
    .login-container {
      padding: 2rem 1.5rem; /* Moins de padding sur mobile */
    }
  
    .login-container h1 {
      font-size: 1.5rem;
    }
  
    .login-container .description {
      font-size: 0.9rem;
      margin-bottom: 2rem;
    }
  
    .google-login-btn {
      padding: 10px 18px;
      font-size: 0.95rem;
      gap: 10px;
    }
  
    .google-icon {
      width: 16px;
      height: 16px;
    }
  }