/* assets/css/global.css - Common styles extracted from routing components */

/* Navigation pills (from awards_shell.php) */
.nav-pills .nav-link {
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    margin-right: 5px;
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Year bar and Award Cards (from default.php) */
.year-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
    position: sticky;
    top: 60px;
    /* Adjust based on navbar height */
    z-index: 1000;
}

.award-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--acracb-primary);
}

.award-img-container {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.award-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.badge-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 10;
}

.btn-view {
    border-radius: 20px;
    padding: 4px 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.year-pill {
    transition: all 0.2s;
    border: 2px solid transparent;
    font-weight: 600;
}

.year-pill:hover {
    background-color: #f1f3f5;
}

.year-pill.active {
    background-color: #212529 !important;
    color: white !important;
    border-color: #212529;
}