/* ==========================================================================
   OXIDIAN DEV STUDIO - INDEPENDENT DEVELOPER WORKSPACE (2026)
   Completely Standalone Dark UI · Obsidian & 24k Gold Studio Theme
   ========================================================================== */

:root {
    --std-bg: #06080c;
    --std-bg-card: rgba(13, 17, 26, 0.92);
    --std-bg-card-hover: rgba(18, 24, 36, 0.98);
    --std-header-bg: rgba(10, 13, 20, 0.96);
    --std-border: rgba(212, 175, 55, 0.22);
    --std-border-light: rgba(255, 255, 255, 0.08);
    --std-gold: #ffd700;
    --std-gold-dim: #d4af37;
    --std-text: #f1f5f9;
    --std-text-muted: #94a3b8;
    --std-text-dim: #64748b;
    --std-guabina: #38bdf8;
    --std-marty: #c084fc;
    --std-oxidian: #4ade80;
    --std-font-title: 'Cinzel', serif, system-ui;
    --std-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset for Dev Studio */
html, body.studio-body {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--std-bg) radial-gradient(circle at 50% -10%, #151d2c 0%, #06080c 60%) no-repeat fixed !important;
    color: var(--std-text) !important;
    font-family: var(--std-font-sans) !important;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

/* Reset SVGs */
svg.studio-icon, .studio-body svg.ui-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================================================
   TOP STUDIO HEADER BAR
   ========================================================================== */
.studio-header {
    height: 64px;
    background: var(--std-header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--std-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.studio-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.studio-logo {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}

.studio-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--std-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.studio-sep {
    width: 1px;
    height: 22px;
    background: var(--std-border-light);
    margin: 0 4px;
}

.studio-vps-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
}

.studio-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Center Base Switcher */
.studio-base-selector {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--std-border);
    padding: 4px 6px;
    border-radius: 30px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

.studio-base-pill {
    color: var(--std-text-muted);
    padding: 7px 18px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.studio-base-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.studio-base-pill.active-guabina {
    background: rgba(14, 165, 233, 0.2) !important;
    border-color: var(--std-guabina) !important;
    color: var(--std-guabina) !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.4) !important;
}

.studio-base-pill.active-marty {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: var(--std-marty) !important;
    color: var(--std-marty) !important;
    box-shadow: 0 0 16px rgba(192, 132, 252, 0.4) !important;
}

.studio-base-pill.active-oxidian {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: var(--std-oxidian) !important;
    color: var(--std-oxidian) !important;
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.4) !important;
}

/* Right Actions */
.studio-actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.studio-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.studio-btn-download {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--std-border);
    color: var(--std-gold);
}

.studio-btn-download:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--std-gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.studio-btn-ghost {
    background: transparent;
    border: 1px solid var(--std-border-light);
    color: var(--std-text-muted);
}

.studio-btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.studio-btn-logout {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.studio-btn-logout:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: #ef4444;
}

/* ==========================================================================
   SUB-NAV STRIP
   ========================================================================== */
.studio-subnav {
    background: rgba(14, 18, 28, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--std-border-light);
    padding: 10px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.studio-guabina-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.studio-guabina-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--std-guabina);
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.studio-guabina-desc {
    font-size: 12px;
    color: var(--std-text-muted);
}

.studio-guabina-lock-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
}

.studio-tabs-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.studio-subtab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--std-border-light);
    border-radius: 6px;
    padding: 6px 14px;
    color: var(--std-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.studio-subtab:hover {
    color: #ffffff;
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.studio-subtab.active {
    background: rgba(212, 175, 55, 0.16) !important;
    border-color: var(--std-gold) !important;
    color: var(--std-gold) !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2) !important;
}

/* ==========================================================================
   STUDIO MAIN VIEWPORT & CONTAINERS
   ========================================================================== */
.studio-viewport {
    max-width: 1560px;
    margin: 0 auto;
    padding: 24px 32px 80px 32px;
}

.studio-card {
    background: var(--std-bg-card);
    border: 1px solid var(--std-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    padding: 24px;
    margin-bottom: 24px;
}

/* ==========================================================================
   STUDIO STANDALONE LOGIN SCREEN
   ========================================================================== */
.studio-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: var(--std-bg) radial-gradient(circle at 50% 30%, #172133 0%, #06080c 65%) no-repeat fixed;
}

.studio-login-box {
    max-width: 440px;
    width: 100%;
    background: rgba(13, 17, 26, 0.94);
    backdrop-filter: blur(24px);
    border: 1px solid var(--std-border);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.studio-login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--std-gold), transparent);
}

.studio-login-logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.studio-login-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--std-gold);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.studio-login-title {
    font-family: var(--std-font-title);
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.studio-login-subtitle {
    font-size: 13px;
    color: var(--std-text-muted);
    margin: 0 0 28px 0;
    line-height: 1.5;
}

.studio-form-field {
    text-align: left;
    margin-bottom: 20px;
}

.studio-form-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--std-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.studio-form-field input[type="password"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--std-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.25s ease;
}

.studio-form-field input[type="password"]:focus {
    outline: none;
    border-color: var(--std-gold);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
    background: rgba(0, 0, 0, 0.85);
}

.studio-login-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #07080a;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.studio-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.55);
    filter: brightness(1.1);
}

.studio-login-footer-link {
    display: inline-block;
    margin-top: 22px;
    font-size: 12px;
    color: var(--std-text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.studio-login-footer-link:hover {
    color: var(--std-gold);
}

/* Notices & Alerts */
.studio-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

/* Footer */
.studio-footer {
    border-top: 1px solid var(--std-border-light);
    padding: 20px 32px;
    text-align: center;
    font-size: 12px;
    color: var(--std-text-dim);
    background: rgba(6, 8, 12, 0.9);
}

/* ==========================================================================
   DEV TOOLS VIEWS (Commands, Lab, Registration, Downloads)
   ========================================================================== */
.view-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.view-title h2 {
    font-family: var(--std-font-title);
    font-size: 22px;
    color: #ffffff;
    margin: 0;
}
.view-intro {
    color: var(--std-text-muted);
    font-size: 13px;
    margin: 0 0 20px 0;
}
.view-filters, form.filters {
    background: var(--std-bg-card);
    border: 1px solid var(--std-border);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.view-filters div, form.filters div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.view-filters label, form.filters label {
    font-size: 11px;
    font-weight: 700;
    color: var(--std-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.view-filters input, .view-filters select, form.filters input, form.filters select {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--std-border);
    border-radius: 6px;
    color: #ffffff;
    padding: 9px 14px;
    font-size: 13px;
    min-width: 200px;
}
.view-filters button, form.filters button {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #07080a;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}
.cmd-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
}
.cmd-card {
    background: var(--std-bg-card);
    border: 1px solid var(--std-border);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s, border-color 0.2s;
}
.cmd-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}
.cmd-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cmd-heading h3 {
    font-family: monospace;
    font-size: 16px;
    color: var(--std-gold);
    margin: 0;
}
.cmd-status {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.cmd-syntax {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: monospace;
    font-size: 12px;
    color: #e2e8f0;
    overflow-x: auto;
}
.laboratory-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lab-card {
    background: var(--std-bg-card);
    border: 1px solid var(--std-border);
    border-radius: 10px;
    padding: 16px 20px;
}
.lab-card summary {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}
.lab-name {
    color: #ffffff;
    font-size: 15px;
}
.registration-panel {
    background: var(--std-bg-card);
    border: 1px solid var(--std-border);
    border-radius: 12px;
    padding: 32px;
    max-width: 800px;
}
.registration .lab-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}
.form-field {
    margin-bottom: 16px;
}
.form-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--std-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.form-field input, .form-field select {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--std-border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    color: #ffffff;
}
.form-field input:focus, .form-field select:focus {
    outline: none;
    border-color: var(--std-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.hint {
    font-size: 11px;
    color: var(--std-text-dim);
    margin-top: 4px;
}
.trap {
    display: none !important;
}
.notice {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--std-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--std-text);
    margin-bottom: 16px;
}
.notice.success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}
.notice.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}
.epic-button-primary {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #07080a;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* High-contrast and distinctive Client Pills */
.client-pill, .category-pill, .subtype-pill {
    color: #cbd5e1 !important;
    background: rgba(18, 24, 38, 0.85) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    transition: all 0.2s ease !important;
}
.client-pill:hover, .category-pill:hover, .subtype-pill:hover {
    color: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.55) !important;
    background: rgba(212, 175, 55, 0.15) !important;
}
.client-pill.active, .category-pill.active, .subtype-pill.active {
    color: #07080a !important;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%) !important;
    border-color: #ffd700 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4) !important;
}
.client-pill[data-client="guabina"].active {
    color: #051424 !important;
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.5) !important;
}
.client-pill[data-client="marty"].active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #c084fc 0%, #7e22ce 100%) !important;
    border-color: #c084fc !important;
    box-shadow: 0 0 14px rgba(192, 132, 252, 0.5) !important;
}
.client-pill[data-client="oxidian"].active {
    color: #051a0e !important;
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%) !important;
    border-color: #4ade80 !important;
    box-shadow: 0 0 14px rgba(74, 222, 128, 0.5) !important;
}
