/* Tab Navigation Styles */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
    width: 100%;
    padding: 0;
    margin: 0;
}

.tab-content.active {
    display: block;
    width: 100%;
}

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

/* Ensure nav items have proper cursor */
.nav-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.nav-item.active {
    background-color: rgba(98, 0, 238, 0.1);
    border-left: 3px solid #6200ee;
}

/* Dashboard overview should be hidden when other tabs are active */
.dashboard-overview {
    display: block;
}

.dashboard-overview.hidden {
    display: none;
}

/* GPU Monitor specific styles */
.no-gpu-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-gpu-message i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #999;
}

.no-gpu-message p {
    margin: 10px 0;
    font-size: 16px;
}

.no-gpu-message .subtitle {
    font-size: 14px;
    color: #888;
}

/* Loading states for tabs */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6200ee;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tab content headers */
.tab-content h2 {
    margin-bottom: 20px;
    color: #333;
}

[data-theme="dark"] .tab-content h2 {
    color: #e0e0e0;
}

/* Ensure proper spacing in tab content */
.tab-content .dashboard-row {
    margin-bottom: 24px;
}

.tab-content .dashboard-row:last-child {
    margin-bottom: 0;
}