/* Rails Cloud Dashboard - Utility CSS
   Self-hosted Tailwind-like utilities used across all dashboard templates.
   Replaces CDN dependency with pre-built classes. */

/* ========================================
   RESET & BASE
   ======================================== */

/* Global resets */
a { text-decoration: none; color: inherit; }
input, select, textarea, button { border: none; outline: none; }

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #BDBDBD;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #9E9E9E;
}

/* ========================================
   LAYOUT: Display & Flex & Grid
   ======================================== */

.block { display: block; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Flex */
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* ========================================
   SPACING: Margin & Padding
   ======================================== */

/* Margin */
.m-0 { margin: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-auto { margin-left: auto; }
.mr-2 { margin-right: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding */
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* ========================================
   SIZING
   ======================================== */

.w-full { width: 100%; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.w-40 { width: 10rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.min-w-0 { min-width: 0; }
.max-w-2xl { max-width: 42rem; }

/* ========================================
   TYPOGRAPHY
   ======================================== */

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.font-mono { font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace; }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }

/* ========================================
   COLORS: Text
   ======================================== */

.text-white { color: #FFFFFF; }
.text-\[\#212121\] { color: #212121; }
.text-\[\#276749\] { color: #276749; }
.text-\[\#2563EB\] { color: #2563EB; }
.text-\[\#616161\] { color: #616161; }
.text-\[\#757575\] { color: #757575; }
.text-\[\#9E9E9E\] { color: #9E9E9E; }
.text-\[\#BDBDBD\] { color: #BDBDBD; }
.text-\[\#DC2626\] { color: #DC2626; }
.text-\[\#E0E0E0\] { color: #E0E0E0; }
.text-\[\#F59E0B\] { color: #F59E0B; }
.text-\[\#92400E\] { color: #92400E; }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-\[\#DC2626\]\/80 { color: rgba(220, 38, 38, 0.8); }

/* ========================================
   COLORS: Background
   ======================================== */

.bg-white { background-color: #FFFFFF; }
.bg-\[\#000000\] { background-color: #000000; }
.bg-\[\#212121\] { background-color: #212121; }
.bg-\[\#276749\] { background-color: #276749; }
.bg-\[\#2563EB\]\/10 { background-color: rgba(37, 99, 235, 0.1); }
.bg-\[\#D1FAE5\] { background-color: #D1FAE5; }
.bg-\[\#D1FAE5\]\/30 { background-color: rgba(209, 250, 229, 0.3); }
.bg-\[\#DBEAFE\] { background-color: #DBEAFE; }
.bg-\[\#E0E0E0\] { background-color: #E0E0E0; }
.bg-\[\#EEEEEE\] { background-color: #EEEEEE; }
.bg-\[\#F5F5F5\] { background-color: #F5F5F5; }
.bg-\[\#FEE2E2\] { background-color: #FEE2E2; }
.bg-\[\#FAFAFA\] { background-color: #FAFAFA; }
.bg-\[\#FEF3C7\] { background-color: #FEF3C7; }
.bg-\[\#DC2626\] { background-color: #DC2626; }
.bg-\[\#D1FAE5\]\/40 { background-color: rgba(209, 250, 229, 0.4); }

/* ========================================
   BORDERS
   ======================================== */

.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-transparent { border-color: transparent; }
.border-\[\#E0E0E0\] { border-color: #E0E0E0; }
.border-\[\#EEEEEE\] { border-color: #EEEEEE; }
.border-\[\#276749\] { border-color: #276749; }
.border-\[\#FEE2E2\] { border-color: #FEE2E2; }
.border-\[\#FECACA\] { border-color: #FECACA; }

.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-\[\#EEEEEE\] > * + * { border-top-color: #EEEEEE; }

/* Table reset */
table { border-collapse: collapse; }

/* ========================================
   BORDER RADIUS
   ======================================== */

.rounded { border-radius: 0.25rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ========================================
   EFFECTS & TRANSITIONS
   ======================================== */

.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resize-none { resize: none; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }

/* ========================================
   INTERACTIVITY: Hover
   ======================================== */

.hover\:bg-\[\#F5F5F5\]:hover { background-color: #F5F5F5; }
.hover\:bg-\[\#EEEEEE\]:hover { background-color: #EEEEEE; }
.hover\:bg-\[\#212121\]:hover { background-color: #212121; }
.hover\:bg-\[\#1e5438\]:hover { background-color: #1e5438; }
.hover\:bg-\[\#FEE2E2\]:hover { background-color: #FEE2E2; }
.hover\:bg-\[\#B91C1C\]:hover { background-color: #B91C1C; }
.hover\:text-\[\#212121\]:hover { color: #212121; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-\[\#E0E0E0\]:hover { border-color: #E0E0E0; }

/* ========================================
   FORMS: Focus
   ======================================== */

.focus\:outline-none:focus { outline: none; }
.focus\:border-\[\#276749\]:focus { border-color: #276749; }
.focus\:bg-white:focus { background-color: #FFFFFF; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--ring-color, #276749); }
.focus\:ring-\[\#276749\]:focus { --ring-color: #276749; }

/* Forms */
.appearance-none { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.transition-all { transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }

/* ========================================
   PEER (for radio/checkbox siblings)
   ======================================== */

.peer:checked ~ .peer-checked\:border-\[\#276749\] { border-color: #276749; }
.peer:checked ~ .peer-checked\:bg-\[\#D1FAE5\]\/30 { background-color: rgba(209, 250, 229, 0.3); }
.peer:checked ~ .peer-checked\:ring-1 { box-shadow: 0 0 0 1px #276749; }
.peer:checked ~ .peer-checked\:ring-2 { box-shadow: 0 0 0 2px #276749; }
.peer:checked ~ .peer-checked\:ring-\[\#276749\] { --ring-color: #276749; }

/* ========================================
   SR-ONLY (screen-reader only)
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   POSITION & INSET
   ======================================== */

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

/* ========================================
   SPACE BETWEEN (vertical)
   ======================================== */

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* ========================================
   STATUS BADGE (component)
   ======================================== */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

/* ========================================
   STATUS INDICATORS & ANIMATIONS
   ======================================== */

/* Pulsing dot for running state */
@keyframes pulse-green {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(39, 103, 73, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(39, 103, 73, 0); }
}

.status-dot-running {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #276749;
    animation: pulse-green 2s ease-in-out infinite;
}

/* Spinning indicator for transitional states */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.status-dot-transition {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #FEF3C7;
    border-top-color: #F59E0B;
    animation: spin 0.8s linear infinite;
}

/* Pulsing red for error/suspended */
@keyframes pulse-red {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

.status-dot-error {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #DC2626;
    animation: pulse-red 2s ease-in-out infinite;
}

/* Static dot for stopped */
.status-dot-stopped {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #9E9E9E;
}

/* Copy button — small neutral pill */
.copy-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #757575;
    background-color: #F5F5F5;
    transition: background-color 150ms ease, color 150ms ease;
    flex-shrink: 0;
    cursor: pointer;
    white-space: nowrap;
}

.copy-btn:hover {
    background-color: #EEEEEE;
    color: #424242;
}

/* Progress bar for resource usage */
.usage-bar {
    height: 6px;
    border-radius: 3px;
    background-color: #EEEEEE;
    overflow: hidden;
}

.usage-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* ========================================
   LAUNCHPAD — Flagship gold theme
   ======================================== */

/* Gold shimmer animation for sidebar link */
@keyframes gold-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes gold-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(180, 130, 40, 0); }
    50% { box-shadow: 0 0 12px 2px rgba(180, 130, 40, 0.15); }
}

@keyframes rocket-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* Sidebar Launchpad link — gold accent, borderless pill */
.sidebar-link-launchpad {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: #92600A;
    transition: color 0.15s ease;
}

.sidebar-link-launchpad svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #B8860B;
}

.sidebar-link-launchpad:hover {
    color: #744D06;
}

.sidebar-link-launchpad:hover svg {
    color: #8B6914;
}

.sidebar-link-launchpad.active {
    color: #6B4106;
    font-weight: 600;
}

.sidebar-link-launchpad.active svg {
    color: #B8860B;
}

/* Sidebar VPS link — blue accent, borderless pill */
.sidebar-link-vps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1E4D8C;
    transition: color 0.15s ease;
}

.sidebar-link-vps svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #2563EB;
}

.sidebar-link-vps:hover {
    color: #1A3F70;
}

.sidebar-link-vps:hover svg {
    color: #1D4ED8;
}

.sidebar-link-vps.active {
    color: #1A3F70;
    font-weight: 600;
}

.sidebar-link-vps.active svg {
    color: #2563EB;
}

/* Blue shimmer text (for VPS headings) */
.vps-title {
    background: linear-gradient(135deg, #212121 0%, #1E4D8C 30%, #2563EB 50%, #1E4D8C 70%, #212121 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blue-shimmer 4s ease-in-out infinite;
}

@keyframes blue-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Blue accent border for VPS cards */
.vps-card {
    border: 1px solid #93B5E8;
    background: linear-gradient(180deg, #F5F8FF 0%, #FFFFFF 40%);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.vps-card:hover {
    border-color: #5B93D8;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}

/* Blue section divider */
.vps-divider {
    border-bottom: 1px solid #93B5E8;
    background: linear-gradient(90deg, transparent 0%, rgba(147, 181, 232, 0.25) 50%, transparent 100%);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Launchpad page header badge */
.launchpad-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #92600A;
    background: linear-gradient(135deg, #FEF9E7, #FDF2D0);
    border: 1px solid #E8D48B;
}

/* Gold accent border for Launchpad cards */
.launchpad-card {
    border: 1px solid #E8D48B;
    background: linear-gradient(180deg, #FFFEF5 0%, #FFFFFF 40%);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.launchpad-card:hover {
    border-color: #D4A843;
    box-shadow: 0 2px 12px rgba(180, 134, 11, 0.1);
}

/* Gold shimmer text (for headings) */
.launchpad-title {
    background: linear-gradient(135deg, #212121 0%, #6B4106 30%, #B8860B 50%, #6B4106 70%, #212121 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gold-shimmer 4s ease-in-out infinite;
}

/* Gold section divider */
.launchpad-divider {
    border-bottom: 1px solid #E8D48B;
    background: linear-gradient(90deg, transparent 0%, rgba(232, 212, 139, 0.3) 50%, transparent 100%);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* ========================================
   BASEROCK — Purple accent theme
   ======================================== */

/* Purple shimmer text (for Baserock headings) */
.baserock-title {
    background: linear-gradient(135deg, #212121 0%, #581C87 30%, #7C3AED 50%, #581C87 70%, #212121 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: purple-shimmer 4s ease-in-out infinite;
}

/* Purple section divider */
.baserock-divider {
    border-bottom: 1px solid #C4B5FD;
    background: linear-gradient(90deg, transparent 0%, rgba(124, 58, 237, 0.15) 50%, transparent 100%);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Teal section divider (for Projects) */
.projects-divider {
    border-bottom: 1px solid #99F6E4;
    background: linear-gradient(90deg, transparent 0%, rgba(20, 184, 166, 0.15) 50%, transparent 100%);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Teal shimmer text (for Projects headings) */
.projects-title {
    background: linear-gradient(135deg, #212121 0%, #115E59 30%, #14B8A6 50%, #115E59 70%, #212121 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: teal-shimmer 4s ease-in-out infinite;
}

@keyframes teal-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes purple-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ========================================
   OBJECT STORAGE — Orange accent theme
   ======================================== */

/* Orange shimmer text (for Storage headings) */
.storage-title {
    background: linear-gradient(135deg, #212121 0%, #9A3412 30%, #EA580C 50%, #9A3412 70%, #212121 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: orange-shimmer 4s ease-in-out infinite;
}

@keyframes orange-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Orange section divider */
.storage-divider {
    border-bottom: 1px solid #FDBA74;
    background: linear-gradient(90deg, transparent 0%, rgba(234, 88, 12, 0.12) 50%, transparent 100%);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* ========================================
   REGISTRY — Cyan accent theme
   ======================================== */

/* Cyan shimmer text (for Registry headings) */
.registry-title {
    background: linear-gradient(135deg, #212121 0%, #155E75 30%, #0891B2 50%, #155E75 70%, #212121 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cyan-shimmer 4s ease-in-out infinite;
}

@keyframes cyan-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Cyan section divider */
.registry-divider {
    border-bottom: 1px solid #67E8F9;
    background: linear-gradient(90deg, transparent 0%, rgba(8, 145, 178, 0.12) 50%, transparent 100%);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* ========================================
   AI LABS — Rose accent theme
   ======================================== */

/* Rose shimmer text (for Labs headings) */
.labs-title {
    background: linear-gradient(135deg, #212121 0%, #9F1239 30%, #E11D48 50%, #9F1239 70%, #212121 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rose-shimmer 4s ease-in-out infinite;
}

@keyframes rose-shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Rose section divider */
.labs-divider {
    border-bottom: 1px solid #FDA4AF;
    background: linear-gradient(90deg, transparent 0%, rgba(225, 29, 72, 0.1) 50%, transparent 100%);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* ========================================
   SKELETON LOADING
   ======================================== */

.skeleton {
    background: linear-gradient(90deg, #F5F5F5 25%, #EEEEEE 50%, #F5F5F5 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   RESPONSIVE: sm (640px+)
   ======================================== */

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ========================================
   RESPONSIVE: md (768px+)
   ======================================== */

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ========================================
   RESPONSIVE: lg (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ========================================
   RESPONSIVE: Sidebar mobile overlay
   ======================================== */

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0 !important;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 35;
    }
}

/* ========================================
   PRINT
   ======================================== */

@media print {
    .sidebar,
    .topbar,
    .toast-container {
        display: none !important;
    }

    .main-wrapper {
        margin-left: 0 !important;
    }
}
