:root {
    --codemowers-primary: #2563eb;
    --codemowers-dark: #1e293b;
    --codemowers-light: #f8fafc;
    --codemowers-accent: #0ea5e9;
    --codemowers-success: #10b981;
    --codemowers-warning: #f59e0b;
    --codemowers-danger: #ef4444;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--codemowers-light);
    color: var(--codemowers-dark);
    line-height: 1.6;
}

.navbar-brand {
    font-weight: 700;
    color: var(--codemowers-primary) !important;
}

.report-header {
    background: linear-gradient(135deg, var(--codemowers-primary) 0%, var(--codemowers-accent) 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.registry-card {
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.registry-header {
    background: var(--codemowers-dark);
    color: white;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

.repo-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f8fafc;
}

.repo-header {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
}

.usage-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.usage-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
}

.status-up-to-date {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--codemowers-success);
}

.status-behind {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--codemowers-warning);
}

.status-major-behind {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--codemowers-danger);
}

.tag-badge {
    background-color: var(--codemowers-primary);
    color: white;
}

.clickable-badge {
    cursor: pointer;
    transition: all 0.2s ease;
}

.clickable-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-badge {
    background-color: var(--codemowers-accent);
    color: white;
}

.footer {
    background: var(--codemowers-dark);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--codemowers-primary);
}

.metric-label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Usage instructions styling */
.alert code {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: inherit;
}

.alert hr {
    margin: 1rem 0;
    opacity: 0.3;
}

/* Print styles - hide interactive elements */
@media print {
    /* Hide promotional section */
    #promotional-section,
    .card:has(#promotional-section) {
        display: none !important;
    }

    /* Hide "View on..." buttons */
    .btn[href*="://"] {
        display: none !important;
    }

    /* Hide clickable badges */
    .clickable-badge {
        display: none !important;
    }

    /* Hide navigation */
    .navbar {
        display: none !important;
    }

    /* Hide footer */
    .footer {
        display: none !important;
    }

    /* Adjust margins for print */
    .container {
        max-width: none !important;
        padding: 0 !important;
    }

    /* Ensure good page breaks */
    .registry-card {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .usage-item {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
