* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: Arial, sans-serif;
    color: #312323;
    min-height: 100vh;
    background-image: url('/photos/background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed
}
body.dashboard {
    background-color: rgb(149, 149, 149);
}

footer {
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer.background {
    background-color: rgb(61, 64, 64);
}

h2.centre {
    text-align:center;
}

p.centre {
	text-align:center;
}


.formulaire-connexion {
    width: 90%; 
    box-sizing: border-box;
    
    max-width: 340px;
    padding: 25px;
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);

    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.formulaire-connexion label {
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    }
    .formulaire-connexion input[type="text"],
    .formulaire-connexion input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.formulaire-connexion input {
    font-size: 1rem;
}
.formulaire-connexion input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.4);
    outline: none;
}
.formulaire-connexion button {
    width: 100%;
    padding: 12px;
    margin-top: 25px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.formulaire-connexion button:hover {
    background-color: #0069d9;
}
.erreur-message {
    color: #d60000;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}


.dashboard-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 12px;
    background: white;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.welcome-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

article.centre {
    min-height: calc(100vh - 150px);
    padding-bottom: 80px;
}