/* assets/style.css - Global styles for ZORCIN */
:root {
    --bg: #060810;
    --surface: #0e121f;
    --surface-2: #0a0e18;
    --border: rgba(255,255,255,0.07);
    --border-hi: rgba(255,255,255,0.12);
    --text: #ffffff;
    --text-2: #e0e4f0;
    --muted: #8b92b0;
    --accent: #3d7fff;
    --accent2: #5b8cff;
    --accent-lt: rgba(61,127,255,0.12);
    --danger: #dc2626;
    --record: #dc2626;
    --success: #00c98d;
    --r-sm: 6px;
    --r: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --sh-sm: 0 2px 6px rgba(0,0,0,0.2);
    --sh-md: 0 8px 20px rgba(0,0,0,0.25);
    --sh-lg: 0 20px 35px -8px rgba(0,0,0,0.4);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --serif: 'Inter', 'SF Pro Display', system-ui, sans-serif;
    --mono: 'SF Mono', 'JetBrains Mono', monospace;
}

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

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

/* Orb animations */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none; /* This is CRITICAL - allows clicking through */
    z-index: 0;
    width: 500px;
    height: 500px;
}

.orb-a {
    background: #3d7fff;
    top: -150px;
    right: -150px;
}

.orb-b {
    background: #5b8cff;
    bottom: -100px;
    left: -100px;
}

/* Header */
.z-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(6,8,15,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.z-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.z-header-logo img {
    height: 32px;
    width: auto;
}
.z-header-logo-div {
    width: 1px;
    height: 24px;
    background: var(--border);
}
.z-header-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.z-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 5px 14px 5px 8px;
    font-size: 13px;
    font-weight: 500;
}
.user-chip-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
}
.user-chip-role {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    color: var(--muted);
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
    text-decoration: none;
    background: none;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}
.btn-lg {
    padding: 12px 24px;
    font-size: 14px;
}
.btn-full {
    width: 100%;
    justify-content: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: white;
    border: none;
}
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.btn-secondary {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}
.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-danger {
    background: rgba(220,38,38,0.12);
    color: #f87171;
    border: 1px solid rgba(220,38,38,0.3);
}
.btn-danger:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

/* Form fields */
.field {
    margin-bottom: 18px;
}
.field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 8px;
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: 10px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-size: 13px;
    color: var(--text);
    transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
}
.field-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
}
textarea {
    resize: vertical;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--r);
    font-size: 13px;
    font-weight: 500;
}
.alert-success {
    background: rgba(0,201,141,0.12);
    border: 1px solid rgba(0,201,141,0.25);
    color: #00c98d;
}
.alert-error {
    background: rgba(220,38,38,0.12);
    border: 1px solid rgba(220,38,38,0.25);
    color: #f87171;
}

/* Card */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}

/* Animation */
.anim-up {
    animation: fadeUp 0.5s ease-out forwards;
    opacity: 0;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.anim-d1 { animation-delay: 0.08s; }
.anim-d2 { animation-delay: 0.14s; }
.anim-d3 { animation-delay: 0.2s; }