@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background: #F0F4F8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 30px 20px;
    overflow-y: hidden;
}
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #00026f; /* Bleu profond */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

#splash-screen h1 {
    font-size: 48px; /* Nom de l'application en gros */
    font-weight: 900;
    margin: 0;
    letter-spacing: 20px;
    margin-left: 20px;
}

#splash-screen h2 {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 10px;
    max-width: 80%;
}

.fade-out {
    opacity: 0;
}

.hidden {
    display: none;
}

#login-container {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.title-container {
    margin-top: 100px;
    text-align: center;
    color: #00026f;
    line-height: 1.1; 
}

.title-container h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px; 
}

.title-container h2 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 10px;
    margin: 0; 
    margin-top: 20px;
    color: #ad0000;

}


.form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.input-group {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

input {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border: 1px solid #CCCCCC;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

input:focus {
    border-color: #0055A4;
    outline: none;
}

button {
    width: 100%;
    background: #00026f;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease, transform 0.1s ease;
    box-sizing: border-box;
    margin-bottom: 100px;
}

button:hover {
    background: #00028d;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}
