/* --- Dashboard Specific --- */
.explorer-list {
    list-style: none;
}

.explorer-item {
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    position: relative;
}

.explorer-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.explorer-item.folder i { color: var(--accent-purple); }
.explorer-item.file i { color: var(--accent-cyan); }

.explorer-actions {
    display: none;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.explorer-item:hover .explorer-actions {
    display: flex;
}

.explorer-actions i {
    opacity: 0.5;
    transition: var(--transition);
}

.explorer-actions i:hover {
    opacity: 1;
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--glow-cyan);
    transform: scale(1.2);
}

/* --- Source Editor --- */
.editor-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#editor {
    width: 100%;
    height: 100%;
    background: #0d0d0e;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 16px;
    color: #e0e0e0;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    outline: none;
    transition: var(--transition);
}

#editor:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
}

/* --- Chat Neon --- */
.chat-window {
    height: 300px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border-glass);
}

.chat-bubble.me {
    align-self: flex-end;
    background: rgba(112, 0, 255, 0.1);
    border-color: var(--accent-purple);
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.feature-card.native {
    background: rgba(112, 0, 255, 0.05);
    border-color: rgba(112, 0, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card.native::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    animation: scan-line 3s linear infinite;
}

.feature-card.native i {
    color: var(--accent-purple);
    text-shadow: 0 0 10px var(--glow-purple);
}

.feature-card.native:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px var(--glow-purple);
}

@keyframes scan-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.feature-card i {
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: white;
}

.feature-card p {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Admin Card --- */
.admin-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px;
}

.admin-card h3 {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

.user-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
}

/* --- Welcome Hub --- */
.welcome-container {
    padding: 60px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* --- Admin Management Table --- */
.neon-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.neon-table th {
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 11px;
    border-bottom: 1px solid var(--border-glass);
}

.neon-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
}

.neon-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

/* --- Badges & Status --- */
.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.badge.admin { background: rgba(112, 0, 255, 0.2); color: var(--accent-purple); border: 1px solid var(--accent-purple); }
.badge.pro { background: rgba(0, 242, 255, 0.2); color: var(--accent-cyan); border: 1px solid var(--accent-cyan); }
.badge.subscriber { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid rgba(255, 255, 255, 0.2); }

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}

.status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status.online::before { background: #4CAF50; box-shadow: 0 0 8px #4CAF50; }
.status.offline::before { background: #555; }

.btn-table {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--accent-cyan);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-table:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--glow-cyan);
}

.neon-text-lg {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 6px;
    color: white;
    text-shadow: 0 0 15px var(--glow-cyan);
}

/* Hub Live Ticker Styles */
.hub-live-ticker-container {
    overflow: hidden;
}

.status-dot-pulse {
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px #4CAF50;
    animation: ticker-pulse 2s infinite ease-in-out;
}

@keyframes ticker-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.ticker-item {
    border-left: 2px solid var(--accent-purple);
    padding-left: 10px;
    animation: ticker-slide-in 0.3s ease-out;
}

@keyframes ticker-slide-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.text-mhs-safe { color: #4CAF50; text-shadow: 0 0 8px rgba(76, 175, 80, 0.4); }

.max-w-200 { max-width: 200px; }
.max-w-1200 { max-width: 1200px; }
