:root {
    --bg-base: #080b11;
    --bg-surface: rgba(16, 22, 36, 0.72);
    --bg-surface-hover: rgba(24, 33, 53, 0.85);
    --bg-card: rgba(14, 19, 31, 0.88);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(0, 242, 254, 0.5);

    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --accent-glow: rgba(0, 242, 254, 0.25);
    --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);

    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.35);
    --warning: #f59e0b;
    --danger: #ef4444;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-elevation: 0 16px 36px -8px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.07);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ambient glow background mesh */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(79, 172, 254, 0.06) 0%, transparent 50%),
        #080b11;
}

/* Header */
.app-header {
    background: rgba(8, 11, 17, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-brand);
    color: #050b14;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--accent-glow);
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.brand-sub {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--primary-cyan);
    letter-spacing: 0.08em;
    display: block;
}

.header-status-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.status-chip {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-indicator.online {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite ease-in-out;
}

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

.chip-label {
    color: var(--text-dim);
}

.chip-val {
    color: var(--text-main);
    font-weight: 600;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.08);
}

/* Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.75rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Top Hero Grid */
.deploy-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}

@media (max-width: 1024px) {
    .deploy-hero-section {
        grid-template-columns: 1fr;
    }
}

.panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevation);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.panel-header {
    margin-bottom: 1.5rem;
}

.panel-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.panel-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.panel-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Form */
.deploy-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-label .hint {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-dim);
}

.subdomain-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    overflow: hidden;
}

.subdomain-input-wrapper:focus-within {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 16px var(--accent-glow);
}

.input-affix {
    padding: 0.75rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    user-select: none;
    background: rgba(255, 255, 255, 0.02);
}

.input-affix.suffix {
    color: var(--primary-cyan);
    font-weight: 600;
}

.subdomain-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    padding: 0.75rem 0.25rem;
}

.domain-preview {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    padding-left: 0.25rem;
}

.domain-preview strong {
    color: var(--primary-cyan);
}

/* Dropzone */
.dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.25);
    padding: 1.75rem 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.04);
}

.file-input-hidden {
    display: none;
}

.dropzone-icon {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
}

.dropzone-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.dropzone-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.dropzone-sub .highlight {
    color: var(--primary-cyan);
    text-decoration: underline;
}

.file-selected-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    text-align: left;
}

.file-info-icon {
    font-size: 1.6rem;
}

.file-info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
    font-family: var(--font-mono);
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-icon-clear {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 0.4rem;
}

.btn-icon-clear:hover {
    color: var(--danger);
}

/* Accordion */
.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: var(--text-main);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.chevron.rotated {
    transform: rotate(180deg);
}

.accordion-content {
    margin-top: 0.6rem;
}

.code-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    resize: vertical;
    outline: none;
}

.code-textarea:focus {
    border-color: var(--primary-cyan);
}

/* Deploy Button */
.btn-primary {
    position: relative;
    background: var(--gradient-brand);
    color: #050b14;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.95rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    transition: all 0.25s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.45);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Terminal Panel */
.terminal-panel {
    background: #06090e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.btn-term-action {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.72rem;
    font-family: var(--font-mono);
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.btn-term-action:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.terminal-body {
    flex: 1;
    min-height: 340px;
    max-height: 440px;
    overflow-y: auto;
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.term-line {
    word-break: break-all;
    line-height: 1.5;
}

.term-line .prompt {
    color: var(--primary-cyan);
    margin-right: 0.4rem;
}

.term-line.info { color: #e2e8f0; }
.term-line.muted { color: #64748b; }
.term-line.step { color: #38bdf8; font-weight: 600; }
.term-line.success { color: #4ade80; font-weight: 600; }
.term-line.error { color: #f87171; font-weight: 600; }

/* Deploy Success Card */
.deploy-success-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 78, 59, 0.3));
    border-top: 1px solid rgba(16, 185, 129, 0.35);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.success-icon {
    font-size: 2rem;
}

.success-info {
    flex: 1;
}

.success-title {
    font-weight: 700;
    color: #a7f3d0;
    font-size: 0.95rem;
}

.success-url {
    font-family: var(--font-mono);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
}

.success-actions {
    display: flex;
    gap: 0.6rem;
}

.btn-success-visit {
    background: var(--success);
    color: #052e16;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-success-visit:hover {
    box-shadow: 0 0 16px var(--success-glow);
}

.btn-ghost-copy {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

/* Fleet Section */
.fleet-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.fleet-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.search-box input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    width: 220px;
}

.search-box input:focus {
    border-color: var(--primary-cyan);
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-refresh:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.25rem;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.app-card:hover {
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.app-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.app-identity {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-subdomain {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.app-domain-link {
    color: inherit;
    text-decoration: none;
}

.app-domain-link:hover {
    color: var(--primary-cyan);
}

.app-full-url {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-dim);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active, .status-badge.running {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.inactive, .status-badge.stopped {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.failed {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.app-meta-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-key {
    color: var(--text-dim);
    font-size: 0.7rem;
}

.meta-val {
    color: var(--text-main);
    font-weight: 500;
}

.app-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.btn-card-action {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 0.45rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-card-action:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-card-action.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.btn-card-action.primary {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--primary-cyan);
}

.btn-card-action.primary:hover {
    background: rgba(0, 242, 254, 0.2);
}

/* Empty State */
.empty-state-card {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.empty-icon {
    font-size: 3rem;
    opacity: 0.6;
}

.empty-title {
    font-size: 1.15rem;
    font-weight: 700;
}

.empty-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 500px;
}

.empty-desc code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: var(--primary-cyan);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1.5rem;
}

.modal-card {
    background: #0d121f;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

.btn-close-modal:hover {
    color: #ffffff;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.logs-console {
    background: #05080e;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #cbd5e1;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 480px;
    overflow-y: auto;
}

.code-block-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-top: 0.85rem;
}

.code-block-title {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.code-block-card code {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--primary-cyan);
    display: block;
}

.hidden {
    display: none !important;
}

/* Source Selector Tabs */
.source-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.35rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-sans);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
    background: rgba(0, 242, 254, 0.12);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 12px var(--accent-glow);
}

.styled-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.styled-input:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 16px var(--accent-glow);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-note {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.info-note code {
    font-family: var(--font-mono);
    color: var(--primary-cyan);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

