
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
    scroll-behavior: smooth;
}

.blog-container {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.blog-post h2 {
    color: #333333;
    font-size: 24px;
    margin-bottom: 10px;
}

.blog-post h3 {
    color: #666666;
    font-size: 18px;
    margin: 0;
}

.blog-post p {
    color: #444444;
    line-height: 1.6;
}

.blog-post .date {
    color: #999999;
    font-size: 14px;
    margin-top: 10px;
}

.logout-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #e74c3c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.logout-button:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

.logout-button:active {
    background-color: #a83226;
    transform: scale(1);
}


.login-button {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #40e0d0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.login-button:hover {
    background-color: #40e0d0;
    transform: scale(1.05);
}

.login-button:active {
    background-color: #40e0d0;
    transform: scale(1);
}

/* Style du conteneur de formulaire */
.form-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Style du message de bienvenue */
.welcome-message {
    font-size: 18px;
    color: #333333;
    margin-bottom: 20px;
}

/* Style des champs de texte */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #dddddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Style du message d'erreur */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* Style du bouton de soumission */
input[type="submit"] {
    background-color: #3498db;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

/* Style du bouton "Lire la suite" */
.read-more {
display: inline-block;
margin-top: 10px;
padding: 8px 15px;
font-size: 14px;
font-weight: bold;
color: #3498db;
text-decoration: none;
border: 2px solid #3498db;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
}

.read-more:hover {
background-color: #3498db;
color: #ffffff;
}

/* Styles généraux pour le tableau */
table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-family: Arial, sans-serif;
font-size: 16px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

th, .table-cell {
padding: 12px 15px;
border: 1px solid #ddd;
text-align: left;
}

th {
background-color: #4CAF50;
color: #fff;
text-transform: uppercase;
font-weight: bold;
}

.table-row:nth-child(even) {
background-color: #f2f2f2;
}

.table-row:hover {
background-color: #e0e0e0;
}

/* Styles pour les boutons d'action */
.table-actions {
text-align: center;
}

.btn {
text-decoration: none;
color: #fff;
padding: 8px 12px;
border-radius: 4px;
font-weight: bold;
margin: 0 5px;
}

.btn-edit {
background-color: #4CAF50; /* Vert pour modifier */
}

.btn-delete {
background-color: #f44336; /* Rouge pour supprimer */
}

.btn:hover {
opacity: 0.9;
cursor: pointer;
}



