/**
 * SHARED.CSS - Common Styles for PewScore
 * ========================================
 * Universal styles for header, footer, and common components
 * Dark theme with orange accent (#f97316)
 *
 * @version 2.0 (V3 Schema)
 */

/* ==========================================================================
   CSS Variables - PewScore Brand Colors
   ========================================================================== */

:root {
    /* Background Colors - Dark Theme (gray-900 base) */
    --color-bg-primary: #111827;
    --color-bg-secondary: #1f2937;
    --color-bg-tertiary: #374151;
    --color-bg-hover: #4b5563;
    --color-bg-card: #1f2937;
    --color-bg-input: #111827;

    /* Text Colors */
    --color-text-primary: #f9fafb;
    --color-text-secondary: #d1d5db;
    --color-text-muted: #9ca3af;
    --color-text-dim: #6b7280;

    /* PewScore Orange Accent (#f97316) */
    --color-accent: #f97316;
    --color-accent-hover: #ea580c;
    --color-accent-light: #fb923c;
    --color-accent-dim: rgba(249, 115, 22, 0.15);
    --color-accent-glow: rgba(249, 115, 22, 0.4);

    /* Status Colors */
    --color-success: #10b981;
    --color-success-dim: rgba(16, 185, 129, 0.15);
    --color-warning: #f59e0b;
    --color-warning-dim: rgba(245, 158, 11, 0.15);
    --color-error: #ef4444;
    --color-error-dim: rgba(239, 68, 68, 0.15);
    --color-info: #3b82f6;
    --color-info-dim: rgba(59, 130, 246, 0.15);

    /* Rank Colors */
    --color-gold: #fbbf24;
    --color-silver: #9ca3af;
    --color-bronze: #d97706;

    /* Borders */
    --color-border: #374151;
    --color-border-light: #4b5563;
    --color-border-focus: var(--color-accent);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.7);
    --shadow-accent: 0 0 20px var(--color-accent-glow);
    --shadow-glow: 0 0 30px var(--color-accent-glow);

    /* Typography */
    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Consolas, 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Z-Index Scale */
    --z-dropdown: 50;
    --z-sticky: 60;
    --z-header: 100;
    --z-mobile-nav: 90;
    --z-modal-backdrop: 200;
    --z-modal: 210;
    --z-toast: 300;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

body.mobile-nav-open {
    overflow: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-light);
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.pewscore-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: var(--spacing-lg);
}

/* Logo */
.header-logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--color-accent);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 10px;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

/* Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-xs);
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-item a:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.nav-item.active a {
    background: var(--color-accent-dim);
    color: var(--color-accent);
}

.nav-icon {
    font-size: 16px;
    line-height: 1;
}

.nav-label {
    white-space: nowrap;
}

/* User Dropdown */
.header-user {
    display: flex;
    align-items: center;
}

.user-dropdown {
    position: relative;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-dropdown-trigger:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-border);
}

.user-dropdown.open .user-dropdown-trigger {
    background: var(--color-bg-tertiary);
    border-color: var(--color-accent);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-badge {
    font-size: 9px;
    font-weight: 700;
    color: var(--color-accent);
    background: var(--color-accent-dim);
    padding: 1px 5px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.pewscore-id-badge {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-family-mono);
    color: var(--color-text-muted);
    background: var(--color-bg-tertiary);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-right: 12px;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
    transition: transform var(--transition-fast);
}

.user-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
}

.user-dropdown.open .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.dropdown-item.logout-item:hover {
    background: var(--color-error-dim);
    color: var(--color-error);
}

.dropdown-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--spacing-xs) 0;
}

/* Login Button */
.btn-login {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-accent);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-login:hover {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-accent);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text-secondary);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active {
    border-color: var(--color-accent);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--color-accent);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--color-accent);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-secondary);
    z-index: var(--z-mobile-nav);
    transform: translateX(-100%);
    opacity: 0;
    transition: all var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: var(--spacing-md);
}

.mobile-nav-item a,
.mobile-logout-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 15px;
    border-radius: var(--radius-md);
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.mobile-nav-item a:hover,
.mobile-logout-btn:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.mobile-nav-item.active a {
    background: var(--color-accent-dim);
    color: var(--color-accent);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--spacing-md) 0;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.pewscore-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 12px;
    color: var(--color-text-dim);
    margin-top: var(--spacing-xs);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: block;
    padding: var(--spacing-xs) 0;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    font-size: 20px;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.footer-social a:hover {
    transform: scale(1.1);
}

.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 13px;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.footer-copyright p {
    margin: 0;
    font-size: 11px;
    color: var(--color-text-dim);
}

.footer-version {
    margin-top: var(--spacing-xs) !important;
    font-family: var(--font-family-mono);
    letter-spacing: 1px;
    color: var(--color-accent) !important;
}

/* ==========================================================================
   Page Layout
   ========================================================================== */

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.page-header {
    margin-bottom: var(--spacing-xl);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-sm) 0;
}

.page-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-fast);
}

.card:hover {
    border-color: var(--color-border-light);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-md);
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.card-body {
    padding: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-border-light);
    color: var(--color-text-primary);
}

.btn-primary {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    box-shadow: var(--shadow-accent);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 14px;
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 11px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 14px;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 14px;
    font-family: var(--font-family-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.form-input::placeholder {
    color: var(--color-text-dim);
}

/* ==========================================================================
   Tables
   ========================================================================== */

.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.table th {
    background: var(--color-bg-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 11px;
    color: var(--color-text-muted);
}

.table tbody tr:hover {
    background: var(--color-bg-secondary);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background: var(--color-success-dim);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-success);
}

.alert-error {
    background: var(--color-error-dim);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--color-error);
}

.alert-warning {
    background: var(--color-warning-dim);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--color-warning);
}

.alert-info {
    background: var(--color-info-dim);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-info);
}

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-primary {
    background: var(--color-accent-dim);
    color: var(--color-accent);
}

.badge-success {
    background: var(--color-success-dim);
    color: var(--color-success);
}

.badge-warning {
    background: var(--color-warning-dim);
    color: var(--color-warning);
}

.badge-error {
    background: var(--color-error-dim);
    color: var(--color-error);
}

/* ==========================================================================
   Leaderboard Specific Styles
   ========================================================================== */

.leaderboard-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.leaderboard-table .rank-cell {
    font-weight: 700;
    font-size: 16px;
    width: 60px;
    text-align: center;
}

.leaderboard-table .rank-1 {
    color: var(--color-gold);
}

.leaderboard-table .rank-2 {
    color: var(--color-silver);
}

.leaderboard-table .rank-3 {
    color: var(--color-bronze);
}

.leaderboard-table .shooter-cell {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.leaderboard-table .shooter-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.leaderboard-table .shooter-name {
    font-weight: 500;
    color: var(--color-text-primary);
}

.leaderboard-table .shooter-uspsa {
    font-size: 11px;
    color: var(--color-text-dim);
    font-family: var(--font-family-mono);
}

.leaderboard-table .elo-cell {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-accent);
    font-family: var(--font-family-mono);
}

.leaderboard-table .trend-up {
    color: var(--color-success);
}

.leaderboard-table .trend-down {
    color: var(--color-error);
}

.leaderboard-table .classification-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.classification-gm {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
}

.classification-m {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
}

.classification-a {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

.classification-b {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.classification-c {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #fff;
}

.classification-d {
    background: linear-gradient(135deg, #78716c, #57534e);
    color: #fff;
}

/* ==========================================================================
   Loading Spinner
   ========================================================================== */

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-spinner-lg {
    width: 40px;
    height: 40px;
    border-width: 3px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl);
    color: var(--color-text-muted);
    gap: var(--spacing-md);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

    .header-user .user-info {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-user {
        display: none;
    }

    .page-container {
        padding: var(--spacing-md);
    }

    .page-title {
        font-size: 22px;
    }

    .leaderboard-filters {
        flex-direction: column;
    }

    .table th,
    .table td {
        padding: var(--spacing-sm);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }

.font-mono { font-family: var(--font-family-mono); }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.hidden { display: none !important; }
.visible { display: block !important; }

.w-full { width: 100%; }
.h-full { height: 100%; }
