:root {
    --i2b-gradient-primary: linear-gradient(135deg, #0f172a, #1e293b);
    --i2b-gradient-accent: linear-gradient(135deg, #6366f1, #3b82f6);
    --i2b-bg-main: #0b0f19;
    --i2b-panel-bg: #131c2e;
    --i2b-border-color: #24324d;
    --i2b-text-light: #f1f5f9;
    --i2b-text-muted: #64748b;
    --i2b-success: #10b981;
    --i2b-danger: #f43f5e;
}

.i2b-wrapper {
    background-color: var(--i2b-bg-main);
    color: var(--i2b-text-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    max-width: 1250px;
    margin: 25px auto;
}

.i2b-header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--i2b-border-color);
    padding-bottom: 25px;
}

.i2b-header h2 {
    font-size: 2.4rem;
    margin: 0 0 10px 0;
    background: var(--i2b-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.i2b-header p {
    color: var(--i2b-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.i2b-dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.i2b-panel {
    background: var(--i2b-panel-bg);
    border: 1px solid var(--i2b-border-color);
    border-radius: 12px;
    padding: 25px;
    animation: i2bFadeIn 0.4s ease;
}

@keyframes i2bFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Drag and Drop Elements styling configuration matrix */
.i2b-dropzone {
    border: 2px dashed #4f46e5;
    background: rgba(99, 102, 241, 0.04);
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.i2b-dropzone.dragover {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.i2b-icon-main {
    font-size: 4rem;
    margin-bottom: 15px;
    background: var(--i2b-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.i2b-dz-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.i2b-dz-subtitle {
    color: var(--i2b-text-muted);
    font-size: 0.95rem;
    margin: 0 0 25px 0;
}

/* Button UI Interfaces Engine Rulesets */
.i2b-btn {
    background: var(--i2b-gradient-accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease-in-out;
}

.i2b-btn:hover:not(:disabled) {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

.i2b-btn:disabled {
    background: #2e3a52 !important;
    color: var(--i2b-text-muted);
    cursor: not-allowed;
    transform: none;
}

.i2b-btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.i2b-btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.i2b-btn-danger { background: linear-gradient(135deg, #e11d48, #be123c); }

.i2b-actions-row {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

/* Error message indicators rules mapping setup */
.i2b-error-msg {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid var(--i2b-danger);
    color: #fda4af;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
}

/* Display and Preview Split Window layout structure elements blueprints */
.i2b-preview-container {
    margin-top: 30px;
    border-top: 1px solid var(--i2b-border-color);
    padding-top: 25px;
}

.i2b-preview-container h3 { margin-top: 0; font-size: 1.3rem; margin-bottom: 20px; }

.i2b-preview-split {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.i2b-preview-box {
    flex: 1;
    min-width: 250px;
    background: #0b101d;
    padding: 15px;
    border: 1px solid var(--i2b-border-color);
    border-radius: 8px;
}

.i2b-preview-box span {
    display: block;
    font-size: 0.85rem;
    color: var(--i2b-text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.i2b-img-frame {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    border-radius: 6px;
    overflow: hidden;
    border: 1px dashed var(--i2b-border-color);
}

.i2b-img-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Technical Specification Parameter Metadata Tables array sheets formatting */
.i2b-meta-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #0b101d;
    border-radius: 8px;
    overflow: hidden;
}

.i2b-meta-table th, .i2b-meta-table td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid var(--i2b-border-color);
}

.i2b-meta-table th {
    background-color: #162238;
    color: var(--i2b-text-light);
    font-weight: 700;
}

.i2b-meta-table td { font-size: 0.9rem; color: #cbd5e1; }

/* Analysis Dashboard Indicators Statistics Metric Cards Grid architecture setup */
.i2b-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.i2b-stat-card {
    background: #0b101d;
    border: 1px solid var(--i2b-border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.i2b-stat-lbl {
    display: block;
    color: var(--i2b-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.i2b-stat-val { font-size: 1.5rem; font-weight: 800; color: #fff; }
.i2b-stat-alert .i2b-stat-val { color: #f59e0b; }

.i2b-global-copypasta-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

/* Real-Time Processing Encoded Output Workspace Fields Panels elements blocks blueprints sheets formatting rules */
.i2b-code-block-wrapper {
    margin-bottom: 25px;
    background: #0b101d;
    border: 1px solid var(--i2b-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.i2b-cb-header {
    background: #162238;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--i2b-border-color);
    font-weight: 600;
}

.i2b-cb-actions { display: flex; gap: 8px; }

.i2b-action-icon {
    background: rgba(255,255,255,0.05);
    color: var(--i2b-text-light);
    border: 1px solid var(--i2b-border-color);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.i2b-action-icon:hover {
    background: var(--i2b-gradient-accent);
    border-color: transparent;
}

.i2b-textarea-code {
    width: 100%;
    height: 120px;
    background: #070a12;
    color: #38bdf8;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85rem;
    padding: 15px;
    border: none;
    resize: vertical;
    box-sizing: border-box;
    display: block;
}

/* Integration Framework Interactive Tabs Suite Block Panel implementation metrics */
.i2b-developer-frameworks-box {
    margin-top: 35px;
    border-top: 1px solid var(--i2b-border-color);
    padding-top: 30px;
}

.i2b-developer-frameworks-box h3 { margin-top: 0; font-size: 1.3rem; margin-bottom: 20px; }

.i2b-tabs-header {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--i2b-border-color);
    overflow-x: auto;
    padding-bottom: 1px;
}

.i2b-tab-trigger {
    background: transparent;
    color: var(--i2b-text-muted);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.i2b-tab-trigger:hover { color: #fff; }
.i2b-tab-trigger.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
}

.inner-tab-header { background-color: #0e1524; }
.i2b-snippet-display-panel {
    background: #05070f;
    color: #34d399;
    padding: 20px;
    margin: 0;
    overflow-x: auto;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
}

/* Structural Responsive Viewport Optimization Engine */
@media (max-width: 768px) {
    .i2b-wrapper { padding: 20px; }
    .i2b-preview-split { flex-direction: column; }
    .i2b-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .i2b-stats-grid { grid-template-columns: 1fr; }
    .i2b-actions-row { flex-direction: column; }
    .i2b-btn { width: 100%; justify-content: center; }
}