/* ----------------------------------------------------
   TABLE STYLING  — IMPROVED VISIBILITY
---------------------------------------------------- */

.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d0d0d0;
}

.table-custom thead th {
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
    padding: 10px;
}

.table-custom tbody tr:nth-child(odd) {
    background-color: #f2f6ff;   /* light blue */
}

.table-custom tbody tr:nth-child(even) {
    background-color: #e8efff;   /* slightly darker blue */
}

.table-custom tbody tr:hover {
    background-color: #d6e6ff !important;
    cursor: pointer;
}

.table-custom td {
    padding: 10px;
    border-top: 1px solid #d0d0d0;
}
/* Make cards clickable without underlining */
.section-link {
    text-decoration: none;
    color: inherit;
}

/* Card hover animation */
.section-card {
    border-radius: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.2);
}

/* Image styling */
.section-img {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    transition: filter 0.3s ease;
}

.section-card:hover .section-img {
    filter: brightness(85%);
}
.alert-box {
    background: #b30000;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 20px;
    border: 2px solid #700000;
}
