body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom right, #4AD1FF, #B2EBF2);
    color: #333;
}

h1, h3 {
    text-align: center;
    margin-bottom: 1em;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

#blocThemus {
    max-width: 700px;
    margin: 3em auto;
    background: #fff;
    border-radius: 20px;
    padding: 2em;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    text-align: center;
    width: 80%; /* ← pour fluidifier même hors media query */
}


input[type="text"] {
    width: 90%;
    padding: 1em;
    margin-top: 1em;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s;
}

input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 5px #4AD1FF;
}

.button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em 2em;
    border: none;
    border-radius: 25px;
    background-color: #4CAF50;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.nbtheme {
    background-color: #4CAF50;
    width: 100px;
    height: 100px;
    margin: 0 auto 2em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    flex-direction: column;
}

.nbtheme .mini {
    font-size: 0.6rem;
}

#zetheme {
     font-size: 2.8rem;
    margin: 2em auto;
    padding: 1em 1.5em;
    background-color: #C8E6C9;
   
    border-radius: 10px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #2e7d32;
}

.themetire {
    font-size: 2rem;        /* Taille plus grande */
    font-weight: bold;      /* Texte en gras */
    margin-top: 1.5em;
    margin-bottom: 1em;
    text-align: center;
    color: #333;            /* Couleur plus neutre que le vert */
}


.logo {
    display: block;
    margin: 3em auto 2em;
    width: 150px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.admin-wrapper {
    position: absolute;
    top: 1em;
    right: 1em;
    width: 60px;
    height: 40px;
}

.admin {
    font-size: 0.9rem;
    background: #333;
    color: white;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: auto;
}

/* Apparition uniquement quand on survole le conteneur */
.admin-wrapper:hover .admin {
    opacity: 1;
}






@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    h3 { font-size: 1.2rem; }
    .button { width: 100%; }
    #blocThemus { padding: 1em; }
    #zetheme { font-size: 1rem; }
}


.forgot-password {
  margin-top: 1em;
  text-align: center;
}

.forgot-password a {
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password a:hover {
  color: #4CAF50;
}
