/**
 * App Release Manager — global design tokens & base styles
 * Loaded before layout.css and page-specific stylesheets.
 */

:root {
    /* Surfaces */
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;

    /* Text */
    --text-color: #0f172a;
    --text-muted: #64748b;
    --text-secondary: #475569;

    /* Brand */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-subtle: #e0e7ff;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);

    /* Layout */
    --sidebar-width: 260px;

    /* Radius & elevation */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Shared micro-animation (alerts, cards, inline confirmations) */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
