/* CSS for head-with-css-tracking partial */

/* Enhanced styling for automatically loaded CSS indicators */
.auto-css-loaded {
    position: relative;
}

.auto-css-loaded::after {
    content: "✓ Auto CSS";
    position: absolute;
    top: -20px;
    right: 0;
    background: #28a745;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    opacity: 0.8;
    pointer-events: none;
    display: none; /* Hidden by default, can be shown for debugging */
}

/* CSS loading indicator styles */
.css-loading-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
}

/* Debug mode styles - only show when debug parameter is present */
body[data-css-debug="true"] .auto-css-loaded::after {
    display: block;
}

body[data-css-debug="true"] .css-loading-indicator {
    display: block;
}

/* Enhanced meta tag styling */
head {
    /* This won't be visible but helps with organization */
}

/* Print styles for CSS tracking */
@media print {
    .auto-css-loaded::after,
    .css-loading-indicator {
        display: none !important;
    }
}