:root {
    /* Theme - Professional SaaS */
    --primary-color: #2563EB;
    /* Royal Blue (Blue 600) */
    --primary-hover: #1D4ED8;
    /* Blue 700 */
    --secondary-color: #475569;
    /* Slate 600 */

    --accent-success: #10B981;
    /* Emerald 500 */
    --accent-danger: #EF4444;
    /* Red 500 */
    --accent-warning: #F59E0B;
    /* Amber 500 */

    /* Backgrounds */
    --bg-body: #F1F5F9;
    /* Slate 100 - Clean Light Grey */
    --bg-sidebar: #0F172A;
    /* Slate 900 - Dark Navy */
    --bg-card: #FFFFFF;
    --bg-hover: #F8FAFC;

    /* Borders */
    --border-color: #E2E8F0;
    /* Slate 200 */
    --border-focus: #2563EB;

    /* Text */
    --text-main: #1E293B;
    /* Slate 800 */
    --text-muted: #64748B;
    /* Slate 500 */
    --text-on-dark: #F8FAFC;

    /* Shadows - Subtle & Professional */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Radius - Crisp */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    /* 6px */
    --radius-lg: 0.5rem;
    /* 8px */

    /* Font */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: -0.01em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
}

/* Utilities */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s ease-in-out;
    border: 1px solid transparent;
}

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

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

.btn-outline {
    background-color: white;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-hover);
    border-color: #cbd5e1;
}

.btn-danger-outline {
    background: transparent;
    color: var(--accent-danger);
    border: 1px solid transparent;
}

.btn-danger-outline:hover {
    background-color: #FEF2F2;
    border-color: #FECACA;
}

/* Inputs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.375rem;
}

.form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: white;
    color: var(--text-main);
    font-size: 0.875rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: white;
    color: var(--text-main);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    transform: translateY(150%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.875rem;
    font-weight: 500;
}

.toast.show {
    transform: translateY(0);
}

.toast.success {
    border-left-color: var(--accent-success);
}

.toast.error {
    border-left-color: var(--accent-danger);
}

/* SVG Icon Helper Class */
.icon-svg {
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}