/* INEO Dark Theme - Based on Original Portal */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
    /* Background colors - Original INEO */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    --bg-tile: #18181b;
    --bg-tile-header: #1f1f23;
    --bg-hover: #1f1f23;

    /* Border colors */
    --border-color: #27272a;
    --border-light: #3f3f46;

    /* Text colors */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Accent colors */
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-soft: rgba(59, 130, 246, 0.15);
    --accent-red: #ef4444;
    --accent-green: #22c55e;
    --accent-orange: #f59e0b;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;

    /* Calendar colors */
    --calendar-weekend: #1e3a5f;
    --calendar-today: #3b82f6;
    --calendar-vacation: #ef4444;
    --calendar-holiday: #22c55e;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Border radius - Original INEO uses larger values */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.6);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Global reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global styles */
html, body {
    height: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* Link styles */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* Headings - Poppins font */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Button styles */
.btn-dark {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
}

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

.btn-primary-dark {
    background-color: var(--accent-blue);
    border: none;
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-primary-dark:hover {
    background-color: var(--accent-blue-hover);
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--accent-soft);
    color: var(--accent-blue);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.badge.success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.badge.warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-orange);
}

.badge.danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

/* Card animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent-blue); }
.text-success { color: var(--accent-green); }
.text-warning { color: var(--accent-orange); }
.text-danger { color: var(--accent-red); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* Print styles - global */
@media print {
    .neox-sidebar,
    .neox-topbar,
    .no-print {
        display: none !important;
    }

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

    .neox-content {
        padding: 0 !important;
    }

    body {
        background-color: #fff;
        color: #000;
    }
}
