@charset "UTF-8";
#wpadminbar .jch-ms-icon, #wpadminbar .jch-ms-icon::before{
font-family: dashicons;
margin-right: 2px;
font-size: 13px;
}
#wpadminbar .jch-ms-icon-right, #wpadminbar .jch-ms-icon-right::before{
font-family: dashicons;
margin-left: 2px;
font-size: 13px;
}
#wpadminbar #wp-admin-bar-jch-optimize-parent .ab-icon::before {
content: "\f159";
top: 2px;
}
#wpadminbar #wp-admin-bar-jch-optimize-parent .ab-icon.production::before {
color: #00a32a;
}
#wpadminbar #wp-admin-bar-jch-optimize-parent .ab-icon.development::before {
color: #d63638;
}
#wpadminbar #wp-admin-bar-jch-optimize-parent .ab-icon.network::before {
color: #646970;
}
/* --- Cache card styles --- */
#wpadminbar .jch-ms-cache-card {
padding: 6px 8px;
margin: 4px 0 2px;
background: #1d2327;
border-radius: 4px;
border: 1px solid rgba(255,255,255,0.08);
box-shadow: 0 1px 2px rgba(0,0,0,0.3);
display: inline-block;
min-width: 0;
width: 100%;
box-sizing: border-box;
white-space: nowrap; /* keeps the two metrics on one line each */
}
#wpadminbar .jch-ms-cache-card,
#wpadminbar .jch-ms-cache-card * {
font-size: 11px;
line-height: 1.4;
}
#wpadminbar .jch-ms-cache-heading {
display: flex;
align-items: end;
margin-bottom: 4px;
font-weight: 600;
}
#wpadminbar .jch-ms-cache-heading .jch-ms-cache-title {
opacity: 0.9;
}
#wpadminbar .jch-ms-cache-metrics {
display: flex;
gap: 4px 12px;
}
#wpadminbar .jch-ms-cache-metric {
display: flex;
flex-direction: column;
}
#wpadminbar .jch-ms-cache-label {
opacity: 0.7;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.03em;
}
#wpadminbar .jch-ms-cache-size,
#wpadminbar .jch-ms-cache-files {
font-weight: 600;
}
/* Allow this submenu item to grow vertically instead of staying at 32px */
#wpadminbar #wp-admin-bar-jch-optimize-cache-info,
#wpadminbar #wp-admin-bar-jch-optimize-cache-info .ab-item {
height: auto;
line-height: 1.4;
}
/* Loading state */
#wpadminbar .jch-ms-cache-card.is-loading .jch-ms-cache-size::before,
#wpadminbar .jch-ms-cache-card.is-loading .jch-ms-cache-files::before {
content: "\f463"; /* dashicons-randomize */
font-family: dashicons;
display: inline-block;
margin-right: 4px;
animation: jch-ms-spin 1s linear infinite;
position: relative;
top: 2px;
}
@keyframes jch-ms-spin {
0%   { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

