body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f7fa;
}

.container {
    display: flex;
}

.header {
    background-color: #34495e;
    color: white;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 230px;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    box-sizing: border-box;
}

.sidebar {
    width: 230px;
    background-color: #2c3e50;
    color: white;
    height: 100vh;
    padding-top: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
}

.nav-menu {
    list-style: none;
    padding: 0;
}

.nav-link {
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
}

.nav-link.active,
.nav-link:hover {
    background-color: #1abc9c;
    border-left: 5px solid #16a085;
}

.main-content {
    margin-left: 230px;
    margin-top: 80px;
    padding: 2rem;
    width: calc(100% - 230px);
    box-sizing: border-box;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
}

.stat-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-actions {
    margin-bottom: 2rem;
}

.action-buttons .btn {
    margin-right: 0.5rem;
}

.btn {
    background-color: #34495e;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: #3498db;
}

.btn-success {
    background-color: #2ecc71;
}

.btn-warning {
    background-color: #f39c12;
}

.btn-info {
    background-color: #1abc9c;
}

.btn-danger {
    background-color: #e74c3c;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
}

.online {
    background-color: #2ecc71;
    color: white;
}

.results-container,
.log-output {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

select {
    padding: 0.5rem;
}

/* User info styling */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logout-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .header {
        left: 0;
        padding: 0.5rem 1rem;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 70px;
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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