@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Verdana, Geneva, Tahoma, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    padding-top: 80px;
}


.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 80px;
}

.form-login {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05); 
    border: 1px solid rgb(46, 125, 50);
    overflow: hidden;
}

.form-login h2 {
    background-color: rgb(46, 125, 50);
    color: #fff;
    padding: 24px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

/* css du message de success */
.alert-success {
  background-color: #d4edda;
  color: #155724;
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  border: 1px solid #c3e6cb;
}

.form-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
}

.form-content label {
    /* text-align: center;        
    align-self: center; */
    align-self: flex-start;
    width: 80%;
    margin-top: 12px;
    margin-bottom: 4px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.input-login {
    width: 80%;
    padding: 10px;
    margin-bottom: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.button-login {
    background-color: rgb(46, 125, 50);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.button-login:hover {
    background-color: rgb(46, 125, 50);
}

.form-bottom-links {
    text-align: center;
    padding: 0 24px;
    margin-top: 24px;
    font-size: 14px;
}

.link-login {
    color:rgb(46, 125, 50);
    text-decoration: none;
    font-weight: 500;
}

.link-login:hover {
    text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .form-login {
        max-width: 90%;
    }

    .form-content label,
    .input-login,
    .button-login {
        width: 100%;
    }

    .form-bottom-links {
        padding: 0 12px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .form-login h2 {
        font-size: 18px;
        padding: 16px;
    }

    .input-login {
        font-size: 13px;
        padding: 8px;
    }

    .button-login {
        font-size: 14px;
        padding: 10px;
    }

    .form-bottom-links {
        font-size: 12px;
    }
}
