/* ============================================================
   IPS DESIGN SYSTEM - MAIN BUNDLE
   inseit Protein Suite Design System
   Version: 1.0.0
   ============================================================ */

/* Import Order:
   1. Tokens (design variables)
   2. Base (resets and foundations)
   3. Components (UI elements)
   4. Layouts (page structures)
   5. Animations (motion)
   6. Themes (color modes)
*/

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

@import './ips-design-system/1-tokens/colors.css';
@import './ips-design-system/1-tokens/typography.css';
@import './ips-design-system/1-tokens/spacing.css';
@import './ips-design-system/1-tokens/animations.css';

/* ============================================================
   2. BASE STYLES
   ============================================================ */

@import './ips-design-system/2-base/reset.css';

/* ============================================================
   3. COMPONENTS
   ============================================================ */

@import './ips-design-system/3-components/buttons.css';
@import './ips-design-system/3-components/cards.css';
@import './ips-design-system/3-components/forms.css';
@import './ips-design-system/3-components/images.css';
@import './ips-design-system/3-components/modals.css';
@import './ips-design-system/3-components/navigation.css';
@import './ips-design-system/3-components/tabs.css';
@import './ips-design-system/3-components/viewer.css';
@import './ips-design-system/3-components/panels.css';
@import './ips-design-system/3-components/overlays.css';
@import './ips-design-system/3-components/sequence.css';
@import './ips-design-system/3-components/msa.css';
@import url('ips-design-system/3-components/feedback.css');
@import url('ips-design-system/3-components/tables.css');

/* ============================================================
   4. UTILITIES
   ============================================================ */

@import './ips-design-system/4-utilities/utilities.css';
@import './ips-design-system/4-utilities/dark-mode-overrides.css';

/* ============================================================
   GLOBAL STYLES
   ============================================================ */

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-canvas);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    line-height: var(--leading-tight);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    line-height: var(--leading-relaxed);
}

a {
    color: var(--brand-teal);
    transition: var(--transition-colors);
}

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

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

/* Container */
.container {
    max-width: var(--container-7xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container--narrow {
    max-width: var(--container-3xl);
}

.container--wide {
    max-width: var(--container-6xl);
}

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Hidden */
.hidden { display: none; }
.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;
}
