/* Bilan Annuel Grid */
.ccis-bilan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Card Styling */
.ccis-bilan-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}
.ccis-bilan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.15); /* Slight blue shadow on hover */
}

/* Image Container */
.bilan-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bilan-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ccis-bilan-card:hover .bilan-img-container img {
    transform: scale(1.05);
}

/* Year Badge */
.bilan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #0066cc; /* CCIS Blue */
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Content Area */
.bilan-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bilan-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
    flex-grow: 1;
}

/* Download Button (Blue) */
.bilan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0066cc; /* Main Blue */
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    gap: 8px;
    width: 100%;
    text-align: center;
    border: 2px solid #0066cc;
}
.bilan-btn svg {
    transition: transform 0.3s ease;
}
.bilan-btn:hover {
    background: #005bb5;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}
.bilan-btn:hover svg {
    transform: translateY(2px);
}

/* Empty button styling */
.empty-btn {
    background: #f1f3f5;
    color: #868e96 !important;
    border-color: #f1f3f5;
    cursor: not-allowed;
}
.empty-btn:hover {
    background: #f1f3f5;
    box-shadow: none;
    transform: none;
}
