/* ============================================
   RUBI Blockchain - Shared Styles
   ============================================

   This is the shared CSS foundation for all RUBI node applications:
   - BC.SentinelNode (green theme)
   - BC.PermanentNode (blue theme)
   - BC.UP.ExchangeClient (ruby/rose theme)
   - BC.MerchantNode (amber theme)
   - BC.AdminDashboard (purple theme)
   - BC.PaymentPortal (ruby theme)

   Each app should:
   1. Include this file first: <link href="css/rubi-shared.css" rel="stylesheet" />
   2. Then include app.css which overrides --theme-* variables

   ============================================ */

/* ============================================
   CSS Custom Properties (Theme Variables)
   ============================================

   Each app overrides these in their own app.css:

   Sentinel:  --theme-500: #22c55e (green)
   Permanent: --theme-500: #3b82f6 (blue)
   Exchange:  --theme-500: #f43f5e (ruby/rose)
   Merchant:  --theme-500: #d97706 (amber)
   Admin:     --theme-500: #8b5cf6 (purple)
*/

:root {
    /* Theme Colors - Override these per app */
    --theme-50: #f0fdf4;
    --theme-100: #dcfce7;
    --theme-200: #bbf7d0;
    --theme-300: #86efac;
    --theme-400: #4ade80;
    --theme-500: #22c55e;  /* Primary - override this */
    --theme-600: #16a34a;
    --theme-700: #15803d;
    --theme-800: #166534;
    --theme-900: #14532d;
    --theme-950: #052e16;

    /* Dark Theme Base Colors */
    --dark-base: #0d1117;
    --dark-surface: #161b22;
    --dark-card: #1c2128;
    --dark-elevated: #21262d;
    --dark-hover: #30363d;
    --dark-border: #30363d;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --text-dim: #52525b;

    /* Semantic Colors */
    --success: #22c55e;
    --success-light: #4ade80;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --error: #ef4444;
    --error-light: #f87171;
    --info: #3b82f6;
    --info-light: #60a5fa;

    /* Node Type Colors (fixed, not themed) */
    --sentinel-400: #4ade80;
    --sentinel-500: #22c55e;
    --sentinel-600: #16a34a;
    --permanent-400: #60a5fa;
    --permanent-500: #3b82f6;
    --permanent-600: #2563eb;
    --rubi-400: #fb7185;
    --rubi-500: #f43f5e;
    --rubi-600: #e11d48;
    --merchant-400: #fbbf24;
    --merchant-500: #f59e0b;
    --merchant-600: #d97706;
    --admin-400: #a78bfa;
    --admin-500: #8b5cf6;
    --admin-600: #7c3aed;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ============================================
   Base Reset & Typography
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-base);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { margin: 0; }

/* Button Reset - Remove default browser styling */
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    color: inherit;
}

button:focus, [type="button"]:focus {
    outline: none;
}

/* Input Reset */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

a {
    color: var(--theme-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--theme-400);
}

/* ============================================
   Cards
   ============================================ */

.card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-dark {
    background-color: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--dark-border);
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.card-body {
    padding: 1rem;
}

.card-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--dark-border);
    background-color: rgba(0, 0, 0, 0.1);
}

/* ============================================
   Stat Cards
   ============================================ */

.stat-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-card.primary { border-left: 3px solid var(--theme-500); }
.stat-card.success { border-left: 3px solid var(--success); }
.stat-card.warning { border-left: 3px solid var(--warning); }
.stat-card.error { border-left: 3px solid var(--error); }
.stat-card.info { border-left: 3px solid var(--info); }

/* ============================================
   Badges - Base Styles
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

/* Semantic Badges */
.badge-default {
    background-color: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.badge-success {
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--success-light);
}

.badge-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--error-light);
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning-light);
}

.badge-info {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--info-light);
}

.badge-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.badge-muted {
    background-color: rgba(113, 113, 122, 0.2);
    color: #71717a;
}

/* Theme Badge */
.badge-theme {
    background-color: rgba(var(--theme-500-rgb, 34, 197, 94), 0.15);
    color: var(--theme-400);
}

/* ============================================
   Log Badges - Compact inline badges for logs
   ============================================ */

.log-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: capitalize;
}

/* Category Badges - Solid colors */
.log-badge-general { background-color: #4b5563; color: #ffffff; }
.log-badge-startup { background-color: #16a34a; color: #ffffff; }
.log-badge-network { background-color: #2563eb; color: #ffffff; }
.log-badge-consensus { background-color: #eab308; color: #000000; }
.log-badge-block { background-color: #0891b2; color: #ffffff; }
.log-badge-transaction { background-color: #9333ea; color: #ffffff; }
.log-badge-certificate { background-color: #db2777; color: #ffffff; }
.log-badge-smartcontract { background-color: #ea580c; color: #ffffff; }
.log-badge-sync { background-color: #0d9488; color: #ffffff; }
.log-badge-utxo { background-color: #4f46e5; color: #ffffff; }

/* Source Badges - Translucent with border */
.log-badge-sentinel {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.log-badge-permanent {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.log-badge-exchange {
    background-color: rgba(244, 63, 94, 0.2);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.log-badge-wallet {
    background-color: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.log-badge-merchant {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.log-badge-local {
    background-color: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Direction Badges - Incoming/Outgoing with distinct colors */
.log-badge-incoming {
    color: #22c55e; /* Green for incoming */
    padding: 0;
    font-size: 0.85rem;
    background: none;
    border: none;
}

.log-badge-outgoing {
    color: #f59e0b; /* Amber for outgoing */
    padding: 0;
    font-size: 0.85rem;
    background: none;
    border: none;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary (Theme) Button */
.btn-primary {
    background-color: var(--theme-600);
    color: white;
    border-color: var(--theme-600);
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--theme-700);
    border-color: var(--theme-700);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--dark-surface);
    color: var(--text-secondary);
    border-color: var(--dark-border);
}

.btn-secondary:hover:not(:disabled) {
    background-color: var(--dark-hover);
    color: var(--text-primary);
}

/* Ghost Button */
.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Outline Buttons */
.btn-outline-theme {
    background-color: transparent;
    color: var(--theme-500);
    border-color: var(--theme-500);
}

.btn-outline-theme:hover:not(:disabled) {
    background-color: var(--theme-500);
    color: white;
}

/* Size Variants */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* ============================================
   Form Controls
   ============================================ */

.form-control,
.form-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background-color: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.5;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--theme-500);
    box-shadow: 0 0 0 3px rgba(var(--theme-500-rgb, 34, 197, 94), 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Date/time picker icons - invert for dark theme visibility */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-control-sm,
.form-select-sm {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
}

/* Dark Select - inline dropdown for filters */
.dark-select {
    width: auto;
    min-width: 0;
    flex-shrink: 0;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.05);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2rem;
    color: #d1d5db;
}

.dark-select option {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 0.5rem;
}

.dark-select option:hover,
.dark-select option:checked {
    background-color: #374151;
}

/* Log Filter Select - Modern styled dropdowns for CommHub/NodeLogViewer */
.log-filter-select {
    appearance: none;
    background-color: rgba(15, 23, 42, 0.8);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1em 1em;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    padding: 0.4rem 2rem 0.4rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 5.5rem;
}

.log-filter-select:hover {
    background-color: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
}

.log-filter-select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.log-filter-select.filter-active {
    background-color: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
    color: #c4b5fd;
}

.log-filter-select-wide {
    min-width: 8rem;
}

.log-filter-select option {
    background-color: #1e1b4b;
    color: #e2e8f0;
    padding: 0.5rem 0.75rem;
}

.log-filter-select option:checked {
    background-color: #4c1d95;
    color: #fff;
}

.log-filter-select optgroup {
    background-color: #0f0a1f;
    color: #a78bfa;
    font-weight: 600;
    font-style: normal;
}

/* ============================================
   Tables
   ============================================ */

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--dark-border);
}

.table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table tbody tr {
    transition: background-color var(--transition-fast);
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.table-sm th,
.table-sm td {
    padding: 0.5rem;
}

/* ============================================
   Log Viewer
   ============================================ */

.log-viewer {
    font-family: 'Consolas', 'Monaco', 'Fira Code', monospace;
    font-size: 0.8125rem;
    background-color: var(--dark-base);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.log-entry {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    transition: background-color var(--transition-fast);
}

.log-entry:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.log-time {
    color: var(--text-muted);
    flex-shrink: 0;
    width: 90px;
    font-size: 0.75rem;
}

.log-message {
    color: var(--text-secondary);
    word-break: break-word;
    flex: 1;
}

/* Log entry states */
.log-entry.log-error { background-color: rgba(239, 68, 68, 0.08); }
.log-entry.log-warning { background-color: rgba(245, 158, 11, 0.08); }
.log-entry.log-success { background-color: rgba(34, 197, 94, 0.08); }

/* ============================================
   Status Indicators
   ============================================ */

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.online { background-color: var(--success); }
.status-dot.offline { background-color: var(--error); }
.status-dot.warning { background-color: var(--warning); }
.status-dot.pending { background-color: var(--text-muted); }

/* Pulse animation for live indicators */
.status-dot.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   Loading Spinner
   ============================================ */

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dark-border);
    border-top-color: var(--theme-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner-lg {
    width: 60px;
    height: 60px;
    border-width: 4px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

/* Opacity-only fade - no transform to avoid layout shifts */
@keyframes fadeInSimple {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-simple {
    animation: fadeInSimple 0.4s ease-out forwards;
}

/* Double ring spinner */
.spinner-double {
    width: 72px;
    height: 72px;
    border: 4px solid var(--dark-border);
    border-top-color: var(--theme-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: relative;
}

.spinner-double::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--theme-400);
    animation: spin 1.2s linear infinite reverse;
}

/* ============================================
   Alerts
   ============================================ */

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--success-light);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--error-light);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning-light);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--info-light);
}

/* ============================================
   Scrollbar Styling (WebKit)
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--dark-hover) var(--dark-surface);
}

/* ============================================
   Additional Color Utilities
   ============================================

   These Tailwind-style utility classes are for colors
   not included in the compiled Tailwind CSS.
   Used by: CashOutForm, PaymentSuccess, NodeLog, etc.
*/

/* Emerald Colors (Cash-Out Theme) */
.bg-emerald-500\/10 { background-color: rgb(16 185 129 / 0.1); }
.bg-emerald-500\/20 { background-color: rgb(16 185 129 / 0.2); }
.bg-emerald-500\/30 { background-color: rgb(16 185 129 / 0.3); }
.text-emerald-200\/70 { color: rgb(167 243 208 / 0.7); }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-300\/70 { color: rgb(110 231 183 / 0.7); }
.text-emerald-400 { color: #34d399; }
.text-emerald-500 { color: #10b981; }
.border-emerald-400\/30 { border-color: rgb(52 211 153 / 0.3); }
.border-emerald-500 { border-color: #10b981; }
.border-emerald-500\/20 { border-color: rgb(16 185 129 / 0.2); }
.border-emerald-500\/30 { border-color: rgb(16 185 129 / 0.3); }
.border-emerald-500\/50 { border-color: rgb(16 185 129 / 0.5); }
.from-emerald-600 { --tw-gradient-from: #059669; }
.from-emerald-700 { --tw-gradient-from: #047857; }
.from-emerald-800\/10 { --tw-gradient-from: rgb(6 95 70 / 0.1); }
.from-emerald-900\/30 { --tw-gradient-from: rgb(6 78 59 / 0.3); }
.to-emerald-500 { --tw-gradient-to: #10b981; }
.to-emerald-600 { --tw-gradient-to: #059669; }
.to-emerald-800\/10 { --tw-gradient-to: rgb(6 95 70 / 0.1); }
.ring-emerald-500\/50 { --tw-ring-color: rgb(16 185 129 / 0.5); }
.focus-within\:ring-emerald-500\/50:focus-within { --tw-ring-color: rgb(16 185 129 / 0.5); }
.focus-within\:border-emerald-500:focus-within { border-color: #10b981; }
.hover\:text-emerald-300:hover { color: #6ee7b7; }
.border-t-emerald-400 { border-top-color: #34d399; }

/* Violet Colors (Transaction Receipts) */
.bg-violet-500 { background-color: #8b5cf6; }
.bg-violet-500\/10 { background-color: rgb(139 92 246 / 0.1); }
.bg-violet-500\/20 { background-color: rgb(139 92 246 / 0.2); }
.bg-violet-500\/30 { background-color: rgb(139 92 246 / 0.3); }
.bg-violet-600 { background-color: #7c3aed; }
.text-violet-200 { color: #ddd6fe; }
.text-violet-200\/70 { color: rgb(221 214 254 / 0.7); }
.text-violet-300 { color: #c4b5fd; }
.text-violet-300\/70 { color: rgb(196 181 253 / 0.7); }
.text-violet-400 { color: #a78bfa; }
.border-violet-200 { border-color: #ddd6fe; }
.border-violet-500\/20 { border-color: rgb(139 92 246 / 0.2); }
.from-violet-500 { --tw-gradient-from: #8b5cf6; }
.from-violet-600 { --tw-gradient-from: #7c3aed; }
.from-violet-700 { --tw-gradient-from: #6d28d9; }
.from-violet-900\/20 { --tw-gradient-from: rgb(76 29 149 / 0.2); }
.from-violet-900\/30 { --tw-gradient-from: rgb(76 29 149 / 0.3); }
.to-violet-800\/10 { --tw-gradient-to: rgb(91 33 182 / 0.1); }

/* Indigo Colors (Gradients) */
.to-indigo-500 { --tw-gradient-to: #6366f1; }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }
.to-indigo-700 { --tw-gradient-to: #4338ca; }
.to-indigo-900\/10 { --tw-gradient-to: rgb(49 46 129 / 0.1); }

/* Orange Colors (Warnings/Alerts) */
.bg-orange-500\/20 { background-color: rgb(249 115 22 / 0.2); }
.text-orange-400 { color: #fb923c; }

/* Rose Colors (Ruby Theme Variants) */
.bg-rose-600 { background-color: #e11d48; }
.bg-rose-700 { background-color: #be123c; }

/* Sky Colors (Info States) */
.text-sky-400 { color: #38bdf8; }

/* Gradient support classes */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to));
}
