/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background: #0a0a0a;
    color: #00ff41;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #00ff41;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    letter-spacing: 3px;
}

.logo-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00ff41, transparent);
    margin-top: 5px;
}

.status-bar {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #00cc33;
}

.status-item {
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    border-radius: 4px;
}

/* Main content */
.main-content {
    display: flex;
    flex: 1;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: rgba(0, 0, 0, 0.8);
    border-right: 2px solid #00ff41;
    padding: 2rem 0;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-item:hover {
    background: rgba(0, 255, 65, 0.1);
    border-left-color: #00ff41;
}

.nav-item.active {
    background: rgba(0, 255, 65, 0.2);
    border-left-color: #00ff41;
    box-shadow: inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.nav-icon {
    font-size: 1.2rem;
    color: #00ff41;
}

.nav-text {
    font-weight: 500;
    letter-spacing: 1px;
}

/* Content area */
.content-area {
    flex: 1;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.5);
}

.section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.section.active {
    display: block;
}

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

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    border-bottom: 2px solid #00ff41;
    padding-bottom: 1rem;
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff41;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

.card h3 {
    font-size: 0.9rem;
    color: #00cc33;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.metric {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff41;
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 500;
}

.metric-change.positive {
    color: #00ff41;
}

.metric-change.negative {
    color: #ff4444;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 255, 65, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff41, #00cc33);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Data table */
.data-table {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff41;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.data-table h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #00ff41;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

th {
    font-weight: 600;
    color: #00cc33;
    background: rgba(0, 255, 65, 0.1);
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.success {
    background: rgba(0, 255, 65, 0.2);
    color: #00ff41;
    border: 1px solid #00ff41;
}

.status.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.status.error {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

/* Profile section */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.profile-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff41;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.avatar {
    width: 80px;
    height: 80px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ff41, #00cc33);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ff41;
}

.profile-info p {
    margin-bottom: 0.5rem;
    color: #00cc33;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: #00cc33;
    font-size: 0.9rem;
}

.stat-value {
    color: #00ff41;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Settings section */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.setting-group {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff41;
    border-radius: 8px;
    padding: 2rem;
}

.setting-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #00ff41;
    border-bottom: 1px solid #00ff41;
    padding-bottom: 0.5rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    color: #00cc33;
    font-weight: 500;
}

.toggle {
    width: 50px;
    height: 25px;
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid #00ff41;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.toggle.active {
    background: rgba(0, 255, 65, 0.4);
}

.toggle-slider {
    width: 19px;
    height: 19px;
    background: #00ff41;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: all 0.3s ease;
}

.toggle.active .toggle-slider {
    transform: translateX(25px);
}

.select-input {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff41;
    color: #00ff41;
    padding: 0.5rem;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
}

.select-input option {
    background: #000;
    color: #00ff41;
}

/* Analytics section */
.analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.chart-container {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff41;
    border-radius: 8px;
    padding: 2rem;
}

.chart-container h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #00ff41;
}

.chart {
    height: 200px;
    display: flex;
    align-items: end;
    gap: 1rem;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #00ff41, #00cc33);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(to top, #00cc33, #00ff41);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.metrics-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ff41;
    border-radius: 8px;
    padding: 2rem;
}

.metrics-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #00ff41;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-row span:first-child {
    color: #00cc33;
}

.metric-row span:last-child {
    color: #00ff41;
    font-weight: 600;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #00ff41;
    padding: 1rem 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #00cc33;
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #00ff41;
    }
    
    .nav-menu {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .nav-item {
        flex-shrink: 0;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Glitch effect */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.logo-text:hover {
    animation: glitch 0.3s ease-in-out;
}

/* Scan line effect */
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 65, 0.3);
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 1000;
} 