/* OptionContext Developer Portal Stylesheet */
:root {
    --bg: #030712;
    --surface: #0b0f19;
    --surface-glass: rgba(11, 15, 25, 0.75);
    --border: rgba(255, 255, 255, 0.08);
    --border-active: rgba(99, 102, 241, 0.4);
    --primary: #6366f1;
    --secondary: #06b6d4;
    --accent: #10b981;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, .logo, .btn, .tab-btn {
    font-family: 'Space Grotesk', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.04em;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .logo-text {
    font-family: 'Fira Code', 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.logo .logo-text span.accent {
    color: var(--secondary);
    font-weight: 700;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

.logo .logo-text span.brackets {
    color: rgba(255, 255, 255, 0.15);
    font-weight: 300;
    transition: color 0.3s ease;
}

.logo:hover .logo-text span.brackets {
    color: var(--primary);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
}

.btn {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: white;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 24px;
    margin: 40px 0;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.db-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.db-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.table-wrapper {
    overflow-x: auto;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-top: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

th {
    padding: 12px 16px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Modal styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 36px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

code, pre {
    font-family: 'Fira Code', monospace;
}

/* ==========================================================================
   OptionContext — Volumetric Strike CSS Logo Styling
   ========================================================================== */
.oc-logo-32 {
    width: 32px;
    height: 32px;
    position: relative;
    perspective: 150px;
    flex-shrink: 0;
}

.oc-logo-32 .oc-logo {
    width: 32px;
    height: 32px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateZ(-45deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.oc-logo-32 .oc-plate {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.oc-logo-32 .oc-plate-bottom {
    transform: translateZ(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.02));
}

.oc-logo-32 .oc-plate-middle {
    transform: translateZ(0px);
    border-color: rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0.02));
}

.oc-logo-32 .oc-plate-top {
    transform: translateZ(8px);
    border-color: rgba(255, 255, 255, 0.4);
}

.oc-logo-32 .oc-node {
    position: absolute;
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 5px var(--secondary);
    top: 20%;
    left: 20%;
}

/* Hover Interaction states */
.logo:hover .oc-logo {
    transform: rotateX(55deg) rotateZ(135deg);
}

.logo:hover .oc-plate-bottom {
    transform: translateZ(-14px);
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.logo:hover .oc-plate-middle {
    transform: translateZ(0px) scale(1.05);
    border-color: rgba(6, 182, 212, 0.9);
}

.logo:hover .oc-plate-top {
    transform: translateZ(14px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.95);
}

