/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background: linear-gradient(to bottom right, #081828, #2a3d46);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    animation: fadeIn 1s ease-out;
    text-align: right;
    direction: rtl;
}

h1 {
    color: #081828;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 16px;
    color: #081828;
    text-align: right;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #081828;
    outline: none;
    box-shadow: 0 0 8px rgba(8, 24, 40, 0.5);
}

button {
    background-color: #081828;
    color: white;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

button:hover {
    background-color: #2a3d46;
}

button:focus {
    outline: none;
}
#msgerreur {
    text-align: center;
    background-color: #c94343;
    border-radius: 5px;
    margin-bottom: 5px;
}
button i {
    font-size: 18px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
