body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2b343b;
    color: #e25303;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.logo_dark {
    width: 180px;
    margin: 30px 0 10px;
    transition: width 0.3s ease;
}

.main {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background-color: #2b343b;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.container-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.titre {
    font-size: 28px;
    color: white;
    text-align: center;
    margin-bottom: 10px;
}

.form-input {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    color: white;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"] {
    background-color: white;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
}

input:focus {
    border-color: #e25303;
}

.submit-login {
    background-color: #e25303;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

.submit-login:hover {
    background-color: #c94802;
    transform: scale(1.02);
}

.submit-login:active {
    transform: scale(0.98);
}

/* Footer */
footer {
    margin-top: 40px;
    text-align: center;
    color: #e25303;
    font-size: 14px;
}

footer .lien_num {
    color: #e25303;
    text-decoration: none;
    font-weight: bold;
}

footer .lien_num:hover {
    text-decoration: underline;
}

footer .date {
    margin-top: 10px;
}


@media screen and (min-width: 768px) {
    .logo_dark {
        width: 300px;
    }
}

@media screen and (min-width: 1200px) {
    .logo_dark {
        width: 400px;
    }
}

/* Formulaire ultra responsive < 400px */
@media screen and (max-width: 400px) {
    .main {
        padding: 20px;
    }

    input[type="text"],
    input[type="password"] {
        font-size: 14px;
        padding: 10px;
    }

    .submit-login {
        font-size: 15px;
        padding: 10px;
    }

    .titre {
        font-size: 24px;
    }
}
