/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

     font-family: 'Roboto', sans-serif;
background: url(david-clode-75CxJTYeUYs-unsplash.webp) center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 100%;

}

/* Login Box */
.login-box {
    color: white;
    background: transparent;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: 2px solid rgb(255, 255, 255, 0.3);
    backdrop-filter: blur(35px);
    text-align: center;
    transition: all 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Heading */
h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 600;
}

/* Form Inputs */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border-radius: 25px;
    background: transparent;
    border: 2px solid rgb(255, 255, 255, 0.2);
    outline: none;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
}

a{
color: white;
text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: white;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #6a1b9a;
    box-shadow: 0 0 10px rgba(106, 27, 154, 0.3);
}

/* Submit Button */
button {
    background-color: white;
    color: #6a1b9a;
    padding: 12px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: #8e24aa;
    color: white;
}

/* Error Message */
.error {
    color: #e53935;
    margin-top: 15px;
    font-size: 14px;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .login-box {
        padding: 30px;
        max-width: 90%;
    }

    h2 {
        font-size: 26px;
    }

    input[type="email"],
    input[type="password"] {
        padding: 10px;
        font-size: 14px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }
}
/* Style du lien d'inscription */
.register2-link {
    margin-top: 20px;
    font-size: 14px;
}

.register2-link a {
    color: #9454bd !important;
    text-decoration: none !important; 
    font-weight: bold !important;
    transition: color 0.3s !important;
}

.register2-link a:hover {
    color: #8e24aa;
}
