/*
    Table
*/
.table-container {
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    padding: 12px 15px;
    text-align: left;
}
.table th {
    background-color: #f4f4f4;
    border-bottom: 2px solid #dddddd;
    font-weight: 600;
}
.table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.table tr:hover {
    background-color: #f1f1f1;
}
.table-actions a {
    text-decoration: none;
    margin: 0 5px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
}
.table-actions a.show {
    background-color: #007bff;
}
.table-actions a.edit {
    background-color: #ffc107;
}
.table-actions a:hover {
    opacity: 0.8;
}
.create-new {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
.create-new:hover {
    color: #218838;
    background-color: #f4f4f4;
    text-decoration: none;
    margin-top: 15px;
    padding: 10px 20px;
}

/* public/css/custom.css */

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
}

.form-check-label {
    margin-bottom: 0;
    font-size: 1rem;
    margin-left: 5px;
}

.small-input {
    max-width: 100px;
}

legend.scheduler-border {
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}

.cookie-banner {
    position: fixed;      /* Fixe la bannière en bas */
    bottom: 0;            /* Place la bannière tout en bas de la page */
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 1000;        /* Assure que la bannière reste au-dessus des autres éléments */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Ajoute une ombre subtile */
    width: 100%;          /* Prend toute la largeur de l'écran */
}

.cookie-message {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cookie-message p {
    margin: 0;
    padding: 10px 0;
}

.cookie-banner button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #28a745;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.cookie-banner button#declineCookies {
    background-color: #dc3545;
}

.cookie-banner button:hover {
    opacity: 0.9;
}

@media (min-width: 768px) {
    .cookie-message {
        flex-direction: row;
    }
}

