/* Card image placeholder styling */
.card-image-placeholder {
    height: 200px;
    border-radius: 8px;
}

.card-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Layout wrapper */
.layout-wrapper {
    min-height: 100vh;
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.card:hover .card-image-placeholder {
    transform: scale(1.05);
}

header {
    border-bottom: 1px solid #dee2e6;
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: #ffffff;
    background-size: auto;
    opacity: 0.95;
}

footer {
    border-top: 1px solid #dee2e6;
}

/* Menu button hover effect - blue translucent */
nav .nav-link {
    transition: all 0.3s ease;
    color: #343a40 !important;
    border-radius: 0.5rem;
}

nav .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.2);
    color: #0d6efd !important;
    box-shadow: inset 0 0 12px rgba(13, 110, 253, 0.3);
    transform: scale(1.05);
}
/* Card hover effect - responsive with larger bold text */
.card {
    transition: all 0.3s ease;
}

/* Responsive adjustment */
@media (max-width: 767.98px) {
    .sidebar.p-3 {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
}

.sidebar.p-3 {
    min-width: 220px;
    background-color: #e9ecef;
    border-right: 1px solid #dee2e6;

    /* Stretch to fill vertical space inside the flex container */
    align-self: stretch;
    height: 100%;
    overflow-y: auto;
}

@media (max-width: 767.98px) {
    .sidebar.p-3 {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid #dee2e6;

        position: static; /* default behavior on mobile */
        height: auto; /* let content define height on small devices */
    }
}

