/* ELEMENTS PERSO */
/* Masquer elements */

.footer-partner-button {
	display: none !important;
}

/* Ajout d'un effet de fondu pour le titre */
h1, h4, .contact-info, .login-container {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.login-error {
    color: red;
    font-size: 14px;
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    text-align: center;
}

/* FIN */


/* Version Desktop */
@media (min-width: 769px) {
    body {
        margin: 0;
        font-family: Arial, sans-serif;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #333;
        background: linear-gradient(rgb(4, 173, 239), rgba(0, 0, 0, 0.999)) !important;
        /*background: linear-gradient(to bottom right, #162a3b, #1c3b5a) !important;*/
        background-size: cover;
        background-position: center;
    }
}

.maintenance-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    box-sizing: border-box;
    border-radius: 12px;
    animation: fadeInSlide 1s ease-out;
}

.content {
    width: 100%;
    text-align: center;
}

.logo {
    max-width: 130px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 26px;
    color: #222;
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
    color: #555;
    margin-bottom: 18px;
}

p {
    font-size: 15px;
    color: #777;
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    width: 100%;
    text-align: center;
}

.contact-info p {
	font-size: 16px;
	color: #000;
}

.login-container {
    background-color: rgba(245, 245, 245, 0.95);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: 20px;
}

.login-container input[type="text"], 
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.login-container input[type="submit"]:hover {
    background-color: #005177;
}

.icon-map {
    margin-right: 5px;
}

/* Version Mobile */
@media (max-width: 768px) {
    body {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centre verticalement */
        align-items: center; /* Centre horizontalement */
        min-height: 100vh;
        margin: 0;
        background-size: cover;
        padding: 0;
        background: linear-gradient(rgb(4, 173, 239), rgba(0, 0, 0, 0.999)) !important;
    }

    .maintenance-wrapper {
        max-width: 90%;
        padding: 20px;
        height: auto;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.95); /* Conserve le fond blanc */
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .login-container {
        margin-top: 15px;
        padding: 10px;
        width: 100%;
    }

    h1 {
        font-size: 22px;
    }

    h4 {
        font-size: 16px;
    }

    p, .contact-info p {
        font-size: 13px;
    }

    .login-container input[type="text"], 
    .login-container input[type="password"] {
        width: 100%;
    }
}


/* Animation */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h4, .contact-info, .login-container {
    animation: fadeInSlide 0.8s ease-out;
}

/* Style des messages d'erreur */
.login-error {
    color: red;
    font-size: 14px;
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    text-align: center;
}
