form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    margin: 175px auto 20px auto;
    animation: fadeIn 1s linear;
}
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

h2 {
    text-align: center;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.input-style {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 2px solid #00000053;
    border-radius: 4px;
    background-color: #f3f3f3;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-style:focus {
    border-color: #edc317;
    box-shadow: 0 0 5px rgba(237, 195, 23, 0.5);
    transform: scale(1.01);
}

.submit-button {
    width: 100%;
    background-color: #edc317;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #d9af01;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-button:active {
    transform: translateY(0);
}

form.reinitialisation-form {
    margin: 0;
    background-color: #e9e9e940;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.link-right {
    float: right;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-right:hover {
    color: #edc317;
}

.input-group {
    position: relative;
}

.input-group-addon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.input-group-addon:hover {
    transform: translateY(-50%) scale(1.1);
}

@media screen and (max-width: 768px) {
    form {
        margin: 100px auto 20px auto;
        padding: 15px;
    }

    .input-style {
        font-size: 14px;
    }

    .submit-button {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    form {
        margin: 200px auto 15px auto;
        /*! padding: 10px; */
        /*! width: 90%; */
    }

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

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

    .link-right {
        font-size: 11px;
    }
}

.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px auto;
}
