html, body {
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    position: relative; /* For positioning texts at the bottom */
}

.container {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
}

.card {
    background-color: rgb(255, 255, 255) !important;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 380px; /* Réduction de la largeur */
    min-height: 400px; /* Hauteur minimale du formulaire */
}

.input-group {
    margin-bottom: 1.2rem; /* Réduction de la marge */
}

input:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #008e3e !important;
}

.login_btn {
    color: white;
    background-color: #008e3e;
    border-radius: 50px !important;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); /* Shadow effect on button */
    padding: 10px 20px;
}

.login_btn:hover {
    background-color: white;
    border: 1px solid #008e3e;
    color: black;
}

.login-brand img {
    width: 100px;
    margin-bottom: 20px;
}

.text-muted {
    text-align: center;
}

.text-muted a {
    color: #008e3e;
    text-decoration: none;
}

.text-muted a:hover {
    text-decoration: underline;
}

/* Title styling */
.login-title {
    margin-left: 80px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap; /* Ensures the title stays on one line */
}

.subtitle {
    font-weight: 900;
    color: #008e3e;
}

/* Positioning text at bottom left and bottom right */
.bottom-left {
    position: absolute;
    left: 20px;
    bottom: 0px;
    text-align: left;
    color: #ffffff;
}

.bottom-right {
    position: absolute;
    right: 80px;
    bottom: 0px;
    text-align: right;
    color: white;
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
    .col-md-6 {
        width: 100% !important;
        padding: 0;
    }

    .card {
        width: 90%; /* Largeur réduite mais flexible sur mobile */
        padding: 15px; /* Ajustement du padding */
        min-height: 350px; /* Hauteur plus petite sur mobile */
    }

    .input-group {
        margin-left: 15px;
        margin-right: 15px;
    }

    .login_btn {
        width: auto; /* Make sure the button is not full width */
        padding: 10px 20px; /* Adjust button padding */
    }

    .container {
        justify-content: center; /* Center the form on small screens */
        padding: 0 10px; /* Add some padding on small screens */
    }
}

input:focus {
    outline: none !important;
    border-bottom: 2px solid #008e3e !important; /* Bordure verte au focus */
}

::placeholder {
    color: #a1a1a1;
}
