/* --- nest_style.css --- */

:root {
    /* Brand Colors */
    --nest-teal: #00d1b2;
    --nest-teal-dark: #00bfa5;
    --nest-dark: #0f172a;      /* Dashboard Sidebar */
    --nest-slate: #1e293b;     /* Card/Input Backgrounds */
    --nest-bg: #f8fafc;        /* Main Workspace Background */
    --nest-border: #e2e8f0;
    --nest-text-main: #1e293b;
    --nest-text-muted: #64748b;
    
    /* Functional Colors */
    --nest-success: #10b981;
    --nest-danger: #ef4444;
    --nest-warning: #f59e0b;

    /* Spacing & Radii */
    --nest-radius-sm: 6px;
    --nest-radius-lg: 12px;
    --nest-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* --- Global Reset --- */
body {
    background-color: var(--nest-bg);
    color: var(--nest-text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
.nest-header {
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--nest-dark);
}

.nest-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--nest-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

/* --- Interactive Elements (Buttons) --- */
.nest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--nest-radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    gap: 8px;
}

.nest-btn-teal {
    background-color: var(--nest-teal);
    color: var(--nest-dark); /* Contrast against teal */
}

.nest-btn-teal:hover {
    background-color: var(--nest-teal-dark);
    transform: translateY(-1px);
}

.nest-btn-secondary {
    background-color: var(--nest-slate);
    color: #fff;
}

.nest-btn-outline {
    background: transparent;
    border: 1px solid var(--nest-border);
    color: var(--nest-text-main);
}

/* --- Form Inputs --- */
.nest-input, .nest-select, .nest-textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--nest-border);
    padding: 10px;
    border-radius: var(--nest-radius-sm);
    font-size: 0.875rem;
    color: var(--nest-text-main);
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.nest-input:focus, .nest-select:focus {
    outline: none;
    border-color: var(--nest-teal);
    box-shadow: 0 0 0 3px rgba(0, 209, 178, 0.1);
}

/* --- Layout Containers (Cards & Steps) --- */
.nest-card {
    background: #ffffff;
    border: 1px solid var(--nest-border);
    border-radius: var(--nest-radius-lg);
    padding: 24px;
    box-shadow: var(--nest-shadow);
}

.nest-step-container {
    background: white;
    border: 1px solid var(--nest-border);
    border-radius: var(--nest-radius-lg);
    padding: 25px;
    margin-bottom: 15px;
    position: relative;
}

.nest-step-active {
    border-left: 6px solid var(--nest-teal);
    box-shadow: var(--nest-shadow);
}

.nest-step-locked {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.8);
}

/* --- Badges & Pills --- */
.nest-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nest-badge-teal { background: rgba(0, 209, 178, 0.1); color: var(--nest-teal-dark); }
