/**
 * Frontend styles for CB Role-Based Account Downloads
 * Layout-only CSS without colors or theme styling
 */

.cb-downloads {
    margin: 2rem 0;
}

.cb-downloads h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5em;
    font-weight: 600;
}

.cb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cb-card {
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    position: relative;
}

.cb-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2em;
    font-weight: 600;
}

.cb-desc {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.cb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cb-actions .button {
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s ease;
}




.cb-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cb-label {
    font-size: 0.85em;
    font-style: italic;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cb-grid {
        grid-template-columns: 1fr;
    }

    .cb-actions {
        flex-direction: column;
    }

    .cb-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* Download badge in navigation */
.cb-download-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 2px 6px;
    margin-left: 6px;
    background-color: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    line-height: 1;
}

/* Print styles */
@media print {
    .cb-downloads {
        display: none;
    }
}