.card-text {
    font-size: 14px;
}

.app-title {
    font-weight: bold;
    margin-bottom: 0;  /* Remove default margin */
    color: inherit;
}

.image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.view-button {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.view-button i {
    font-size: 0.8em;  /* Make icon slightly smaller than text */
    margin-left: 5px;  /* Add some space between text and icon */
}

.image-container:hover .view-button {
    transform: translateY(0);
}

/* Fixed card dimensions */
.card {
    height: 350px;
}

.card-body {
    height: 200px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-weight: bold;
}

.card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title-link:hover {
    color: #0d6efd;  /* Bootstrap primary color */
    text-decoration: none;
}

.card-content {
    flex-grow: 1;
    overflow: auto;
}

.card-badges {
    margin-top: 10px;
}

.mr-1.mb-1 {
    margin-right: 5px;
    margin-bottom: 5px;
}

.gitlab-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.gitlab-link:hover .gitlab-icon {
    transform: scale(1.1);
}

.card-badges {
    display: inline-block;
}

.navbar .container {
    display: flex;
    align-items: center;
}

/* Custom styles for the Years dropdown in modals */
.modal .years-dropdown .Select-menu-outer {
    z-index: 9999 !important;
    position: absolute !important;
    width: 100% !important;
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 2px;
}

/* Ensure the dropdown container has the correct positioning */
.modal .years-dropdown {
    position: relative !important;
}

/* Make sure dropdown menu is visible */
.modal .Select-menu {
    max-height: 200px !important;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

/* Custom styles for the Years dropdown */
.years-dropdown .Select-menu-outer {
    z-index: 9999 !important;  /* Ensure dropdown appears above modal */
    position: fixed !important;
    min-width: 200px !important;
}

/* Position dropdown for Add Dashboard modal */
#new-dashboard-years .Select-menu-outer {
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 2px;
}

/* Position dropdown for Edit Dashboard modal */
#edit-dashboard-years .Select-menu-outer {
    top: auto !important;
    bottom: 100% !important;
    margin-bottom: 2px;
}

/* Handle dropdown on small screens */
@media (max-width: 768px) {
    .years-dropdown .Select-menu-outer {
        position: absolute !important;
    }
}