/* Stylisation de tous les champs input */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #FFF;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* État au focus */
input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #3498DB;
    background-color: #FAFDFF;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

/* État au survol */
input[type="text"]:hover,
input[type="password"]:hover {
    border-color: #B0B0B0;
}

/* Placeholder */
input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #999;
    font-style: italic;
}

/* Design de la card */
.card {
    max-width: 400px;
    margin: 50px auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #3498DB;
    color: white;
    border-radius: 12px 12px 0 0 !important;
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.card-body {
    padding: 30px;
}

.card-body div {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* Bouton de connexion */
.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #3498DB;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #2980B9;
    transform: translateY(-2px);
}

/* Message d'erreur */
.error-message {
    color: #E74C3C;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    padding: 10px;
    background-color: #FEF2F2;
    border-radius: 6px;
}